Qt Reference Documentation

minehunt.pro Example File

demos/declarative/minehunt/minehunt.pro
 TEMPLATE = lib
 TARGET  = qmlminehuntplugin
 QT += declarative
 CONFIG += qt plugin

 TARGET = $$qtLibraryTarget($$TARGET)
 DESTDIR = MinehuntCore

 # Input
 SOURCES += minehunt.cpp

 sources.files = minehunt.qml minehunt.pro
 sources.path = $$[QT_INSTALL_DEMOS]/declarative/minehunt

 target.path = $$[QT_INSTALL_DEMOS]/declarative/minehunt/MinehuntCore

 MinehuntCore_sources.files = \
     MinehuntCore/Explosion.qml \
     MinehuntCore/Tile.qml \
     MinehuntCore/pics \
     MinehuntCore/qmldir
 MinehuntCore_sources.path = $$[QT_INSTALL_DEMOS]/declarative/minehunt/MinehuntCore

 INSTALLS = sources MinehuntCore_sources target

 symbian:{
     TARGET.EPOCALLOWDLLDATA = 1
     include($$QT_SOURCE_TREE/demos/symbianpkgrules.pri)
     TARGET.CAPABILITY = NetworkServices ReadUserData
     importFiles.sources = MinehuntCore/qmlminehuntplugin.dll \
     MinehuntCore/Explosion.qml \
     MinehuntCore/pics \
     MinehuntCore/qmldir
     importFiles.path = MinehuntCore
     DEPLOYMENT = importFiles
 }

 INSTALLS = sources MinehuntCore_sources target
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.