examples/declarative/cppextensions/qwidgets/qwidgets.pro
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
     1 TEMPLATE = lib
     1 TEMPLATE = lib
     2 DESTDIR = QWidgets
       
     3 TARGET = qwidgetsplugin
       
     4 CONFIG += qt plugin
     2 CONFIG += qt plugin
     5 QT += declarative
     3 QT += declarative
       
     4 
       
     5 DESTDIR = QWidgets
       
     6 TARGET = qmlqwidgetsplugin
     6 
     7 
     7 SOURCES += qwidgets.cpp
     8 SOURCES += qwidgets.cpp
     8 
     9 
     9 sources.files += qwidgets.pro qwidgets.cpp qwidgets.qml
    10 sources.files += qwidgets.pro qwidgets.cpp qwidgets.qml
    10 
       
    11 sources.path += $$[QT_INSTALL_EXAMPLES]/declarative/plugins
    11 sources.path += $$[QT_INSTALL_EXAMPLES]/declarative/plugins
    12 
       
    13 target.path += $$[QT_INSTALL_EXAMPLES]/declarative/plugins
    12 target.path += $$[QT_INSTALL_EXAMPLES]/declarative/plugins
    14 
    13 
    15 INSTALLS += sources target
    14 INSTALLS += sources target
    16 
    15 
    17 symbian: include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
    16 symbian:{
       
    17     include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
       
    18     TARGET.EPOCALLOWDLLDATA = 1
    18 
    19 
    19 symbian:{
    20     importFiles.sources = QWidgets/qmlqwidgetsplugin.dll QWidgets/qmldir
    20     TARGET.EPOCALLOWDLLDATA = 1
    21     importFiles.path = QWidgets
       
    22 
       
    23     DEPLOYMENT = importFiles
    21 }
    24 }