diff options
Diffstat (limited to 'examples/sensors/grue/import')
-rw-r--r-- | examples/sensors/grue/import/import.pro | 14 | ||||
-rw-r--r-- | examples/sensors/grue/import/qsensorsimport.pri | 27 |
2 files changed, 5 insertions, 36 deletions
diff --git a/examples/sensors/grue/import/import.pro b/examples/sensors/grue/import/import.pro index 0bb108f7..98277ddc 100644 --- a/examples/sensors/grue/import/import.pro +++ b/examples/sensors/grue/import/import.pro @@ -1,7 +1,8 @@ -TARGET = declarative_grue -TARGETPATH = Grue +TEMPLATE = lib +CONFIG += plugin -include(qsensorsimport.pri) +TARGET = $$qtLibraryTarget(declarative_grue) +TARGETPATH = Grue QT = core gui declarative sensors @@ -10,12 +11,7 @@ LIBS += -L$$OUT_PWD/../lib -lgruesensor SOURCES = main.cpp -symbian { - TARGET.EPOCALLOWDLLDATA = 1 - TARGET.CAPABILITY = ALL -TCB -} - -!isEmpty(EXAMPLES_PREFIX):DESTPATH=$$EXAMPLES_PREFIX/grue/imports/Grue +!isEmpty(EXAMPLES_PREFIX):DESTPATH=$$EXAMPLES_PREFIX/com.nokia.mt.grue/imports/Grue else:DESTPATH=$$[QT_INSTALL_IMPORTS]/Grue target.path=$$DESTPATH diff --git a/examples/sensors/grue/import/qsensorsimport.pri b/examples/sensors/grue/import/qsensorsimport.pri deleted file mode 100644 index b8af2b7b..00000000 --- a/examples/sensors/grue/import/qsensorsimport.pri +++ /dev/null @@ -1,27 +0,0 @@ -load(qt_module) - -symbian:load(qt_plugin) -TEMPLATE = lib -CONFIG += qt plugin - -win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release - -isEmpty(TARGETPATH) { - error("qimportbase.pri: You must provide a TARGETPATH!") -} -isEmpty(TARGET) { - error("qimportbase.pri: You must provide a TARGET!") -} - -TARGET = $$qtLibraryTarget($$TARGET) -contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols - -load(qt_targets) - -wince*:LIBS += $$QMAKE_LIBS_GUI - -symbian: { - TARGET.EPOCALLOWDLLDATA=1 - TARGET.CAPABILITY = All -Tcb - load(armcc_warnings) -} |