diff --git a/.gitignore b/.gitignore index 4fe0f997..66968343 100644 --- a/.gitignore +++ b/.gitignore @@ -42,4 +42,5 @@ target_wrapper.* # QtCreator CMake CMakeLists.txt.user* -src/build-preset/plugins.qmltypes \ No newline at end of file +src/build-preset/plugins.qmltypes +bin \ No newline at end of file diff --git a/example/example.pro b/example/example.pro index 5eb613fb..7c48cbf8 100644 --- a/example/example.pro +++ b/example/example.pro @@ -8,9 +8,17 @@ SOURCES += \ RESOURCES += qml.qrc -qnx: target.path = /tmp/$${TARGET}/bin -else: unix:!android: target.path = /opt/$${TARGET}/bin -!isEmpty(target.path): INSTALLS += target +#qnx: target.path = /tmp/$${TARGET}/bin +#else: unix:!android: target.path = /opt/$${TARGET}/bin +#!isEmpty(target.path): INSTALLS += target -HEADERS += \ - stdafx.h +# Additional import path used to resolve QML modules in Qt Creator's code model +QML_IMPORT_PATH = + +# Additional import path used to resolve QML modules just for Qt Quick Designer +QML_DESIGNER_IMPORT_PATH = +CONFIG(debug,debug|release) { + DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/debug) +} else { + DESTDIR = $$absolute_path($${_PRO_FILE_PWD_}/../bin/release) +}