From 69b8cfee589bc532b5352cc480469b9eab185e3a Mon Sep 17 00:00:00 2001 From: Olli Werwolff Date: Mon, 27 Jun 2011 12:39:41 +0200 Subject: Do not explicitly use Linux structure when building the example plugin Reviewed-by: Rainer Keller --- doc/example/plugin/example-plugin.pro | 12 +++++++++--- 1 file 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=) +isEmpty(SIMULATOR_DEPENDENCY_PATH): error(Please call qmake with 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 -- cgit v1.2.3