diff options
author | Olli Werwolff <qt-info@nokia.com> | 2011-06-27 12:39:41 +0200 |
---|---|---|
committer | Olli Werwolff <qt-info@nokia.com> | 2011-06-27 12:40:45 +0200 |
commit | 69b8cfee589bc532b5352cc480469b9eab185e3a (patch) | |
tree | 7a64122e9c586c22b57aeb4592a83d198598b674 | |
parent | 718d51ee2113b01e8ad7657904682e67f2685c2e (diff) |
Do not explicitly use Linux structure when building the example plugin
Reviewed-by: Rainer Keller
-rw-r--r-- | doc/example/plugin/example-plugin.pro | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/doc/example/plugin/example-plugin.pro b/doc/example/plugin/example-plugin.pro index e31fcba..f39b6d4 100644 --- a/doc/example/plugin/example-plugin.pro +++ b/doc/example/plugin/example-plugin.pro @@ -1,10 +1,16 @@ +isEmpty(SIMULATOR_BUILD_PATH): SIMULATOR_BUILD_PATH = $$(SIMULATOR_BUILD_PATH) +isEmpty(SIMULATOR_DEPENDENCY_PATH): SIMULATOR_DEPENDENCY_PATH = $$(SIMULATOR_DEPENDENCY_PATH) + +isEmpty(SIMULATOR_BUILD_PATH): error(Please call qmake with SIMULATOR_BUILD_PATH=<path to Qt Simulator build directory>) +isEmpty(SIMULATOR_DEPENDENCY_PATH): error(Please call qmake with SIMULATOR_DEPENDENCY_PATH=<simulator-dependency-path>) + SOURCES += example-plugin.cpp examplepage.cpp HEADERS += example-plugin.h examplepage.h QT += network TEMPLATE = lib CONFIG += plugin -INCLUDEPATH += $$QT_NOKIA_SDK_PATH/simulator-dependencies/include/ +INCLUDEPATH += $${SIMULATOR_DEPENDENCY_PATH}/include/ TARGET = $$qtLibraryTarget(example_plugin) -DESTDIR = $${QT_NOKIA_SDK_PATH}/Simulator/Application/plugins/simulator -LIBS += -L $$QT_NOKIA_SDK_PATH/simulator-dependencies/lib -lsimulatorplugin +DESTDIR = $${SIMULATOR_BUILD_PATH}/plugins/simulator +LIBS += -L$${SIMULATOR_DEPENDENCY_PATH}/lib -lsimulatorplugin -lremotecontrolwidget |