From ca01d5f9f5e960337a044be6e00de58fd4fbdb05 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Fri, 24 Jan 2014 13:22:02 +0100 Subject: Make basicsuite demos run stand-alone This change will make the demos run standalone when built in Qt Creator. - Rename example directories to lowercase/non-whitespace to avoid build & deployment problems - Add title.txt files so titles remain displayed correctly in the launcher - Add a common shared source files used for the standalone apps, and .pro-files for each example - Remove .qmlproject files (not needed) - Adjust documentation to match the new directory structure Change-Id: Ib24e461952da3b2c88aab0363249115ea44ee0f2 Reviewed-by: Eirik Aavitsland --- basicsuite/qt5-everywhere/app.pro | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 basicsuite/qt5-everywhere/app.pro (limited to 'basicsuite/qt5-everywhere/app.pro') diff --git a/basicsuite/qt5-everywhere/app.pro b/basicsuite/qt5-everywhere/app.pro new file mode 100644 index 0000000..6edb532 --- /dev/null +++ b/basicsuite/qt5-everywhere/app.pro @@ -0,0 +1,15 @@ +TARGET = qt5-everywhere + +include(../shared/shared.pri) + +content.files = \ + *.qml \ + *.js \ + fonts \ + images \ + demos +content.path = $$DESTPATH + +OTHER_FILES += $${content.files} + +INSTALLS += target content -- cgit v1.2.3 From b2957ef0efbf55872d36762705b62822cc828cf3 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 29 Jan 2014 11:20:03 +0100 Subject: Enable virtual keyboard when building demos stand-alone Add a shared QML file that defines an InputPanel and loads the main QML for each demo. Also, - Do not define QT_IM_MODULE (set already in the system) - Improved exclude file parsing to match b2qt-launcher Change-Id: Ibdd0371a57878ef7bc585aa67fcd148377f54bc6 Reviewed-by: Eirik Aavitsland --- basicsuite/qt5-everywhere/app.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'basicsuite/qt5-everywhere/app.pro') diff --git a/basicsuite/qt5-everywhere/app.pro b/basicsuite/qt5-everywhere/app.pro index 6edb532..be46a9c 100644 --- a/basicsuite/qt5-everywhere/app.pro +++ b/basicsuite/qt5-everywhere/app.pro @@ -1,6 +1,7 @@ TARGET = qt5-everywhere include(../shared/shared.pri) +b2qtdemo_deploy_defaults() content.files = \ *.qml \ -- cgit v1.2.3