Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QtWebDriver widgets example for Linux #1

Open
wants to merge 1 commit into
base: 5.5
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/widgets/mainwindows/mainwindow/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
****************************************************************************/

#include "mainwindow.h"
#include "Headers.h"

#include <QApplication>
#include <QPainterPath>
Expand Down Expand Up @@ -149,6 +150,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
QMap<QString, QSize> customSizeHints = parseCustomSizeHints(argc, argv);
wd_setup(argc, argv);
MainWindow mainWin(customSizeHints);
mainWin.resize(800, 600);
mainWin.show();
Expand Down
7 changes: 6 additions & 1 deletion examples/widgets/mainwindows/mainwindow/mainwindow.pro
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
TEMPLATE = app
QT += widgets
QT += widgets quick
INCLUDEPATH += /home/user/qtwebdriver/out/dist/desktop/release/Test
INCLUDEPATH += /home/user/qtwebdriver/out/dist/desktop/release/h
LIBS += -L/home/user/qtwebdriver/out/dist/desktop/release/libs
LIBS += -lchromium_base -lWebDriver_core -lWebDriver_extension_qt_base -lWebDriver_extension_qt_quick -lWebDriver_extension_qt_quick_web -lWebDriver_extension_qt_web
DEFINES += QT_NO_SAMPLES="1"

HEADERS += colorswatch.h mainwindow.h toolbar.h
SOURCES += colorswatch.cpp mainwindow.cpp toolbar.cpp main.cpp
Expand Down