Skip to content

Commit

Permalink
Corrected instalation rules for Qt5
Browse files Browse the repository at this point in the history
  • Loading branch information
folibis committed Dec 29, 2013
1 parent fd35067 commit f36fe24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions box2d.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,14 @@ contains(QT_CONFIG, reduce_exports): CONFIG += hide_symbols
INCLUDEPATH += .
include(Box2D/box2d.pri)

target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
importPath = $$[QT_INSTALL_QML]
isEmpty(importPath): importPath = $$[QT_INSTALL_IMPORTS]
target.path = $${importPath}/$$TARGETPATH

#target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH

qmldir.files += $$PWD/qmldir
qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
qmldir.path += $${importPath}/$$TARGETPATH

INSTALLS += target qmldir

Expand Down
1 change: 1 addition & 0 deletions qmldir
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
module Box2D
plugin Box2D

0 comments on commit f36fe24

Please sign in to comment.