diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2010-03-02 16:56:17 (GMT) |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2010-03-02 19:43:44 (GMT) |
commit | b0b19d286e10d307db4b9e477d4463eabc2b319d (patch) | |
tree | 6307dab43ee4eb3ba3418e57814b9ec701087476 /src/imports/qimportbase.pri | |
parent | ba7677f77c35f7e6be9d8330d4e539d816cc33fd (diff) | |
download | Qt-b0b19d286e10d307db4b9e477d4463eabc2b319d.zip Qt-b0b19d286e10d307db4b9e477d4463eabc2b319d.tar.gz Qt-b0b19d286e10d307db4b9e477d4463eabc2b319d.tar.bz2 |
Fix build of imports
* Fix export macro used in webkit
* Fix dependencies on declarative/mutlimedia
* Copy qmldir files into the build tree
Diffstat (limited to 'src/imports/qimportbase.pri')
-rw-r--r-- | src/imports/qimportbase.pri | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/imports/qimportbase.pri b/src/imports/qimportbase.pri new file mode 100644 index 0000000..363dd88 --- /dev/null +++ b/src/imports/qimportbase.pri @@ -0,0 +1,33 @@ +TEMPLATE = lib +CONFIG += qt plugin + +win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release + +isEmpty(TARGETPATH) { + error("qimportbase.pri: You must provide a TARGETPATH!") +} +isEmpty(TARGET) { + error("qimportbase.pri: You must provide a TARGET!") +} + +QMLDIRFILE = $${_PRO_FILE_PWD_}/qmldir +copy2build.input = QMLDIRFILE +copy2build.output = $$TARGETPATH/qmldir +isEmpty(vcproj):copy2build.variable_out = PRE_TARGETDEPS +copy2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT} +copy2build.name = COPY ${QMAKE_FILE_IN} +copy2build.CONFIG += no_link +QMAKE_EXTRA_COMPILERS += copy2build + +TARGET = $$qtLibraryTarget($$TARGET) +contains(QT_CONFIG, reduce_exports):CONFIG += hide_symbols + +include(../../qt_targets.pri) + +wince*:LIBS += $$QMAKE_LIBS_GUI + +symbian: { + TARGET.EPOCALLOWDLLDATA=1 + TARGET.CAPABILITY = All -Tcb + load(armcc_warnings) +} |