Qt Reference Documentation

qwidgets.pro Example File

declarative/cppextensions/qwidgets/qwidgets.pro
 TEMPLATE = lib
 CONFIG += qt plugin
 QT += declarative

 DESTDIR = QWidgets
 TARGET = qmlqwidgetsplugin

 SOURCES += qwidgets.cpp

 sources.files += qwidgets.pro qwidgets.cpp qwidgets.qml
 sources.path += $$[QT_INSTALL_EXAMPLES]/declarative/plugins
 target.path += $$[QT_INSTALL_EXAMPLES]/declarative/plugins

 INSTALLS += sources target

 symbian:{
     include($$QT_SOURCE_TREE/examples/symbianpkgrules.pri)
     TARGET.EPOCALLOWDLLDATA = 1

     importFiles.sources = QWidgets/qmlqwidgetsplugin.dll QWidgets/qmldir
     importFiles.path = QWidgets

     DEPLOYMENT = importFiles
 }
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();