Skip to content

Commit

Permalink
fix: #10
Browse files Browse the repository at this point in the history
  • Loading branch information
Yanhao authored and zccrs committed Mar 28, 2019
1 parent 036d492 commit 3f99873
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/dtk_module.prf
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ MODULE_PRI_CONT += \
write_file($$MODULE_PRI, MODULE_PRI_CONT)|error("Aborting.")


QT_HOST_DATA=$$system(qmake -query QT_HOST_DATA)
isEmpty(QT_INSTALL_ARCHDATA): QT_INSTALL_ARCHDATA = $$system(qmake -query QT_INSTALL_ARCHDATA)
qt_module.files = $$MODULE_PRI

isEmpty(MKSPECS_INSTALL_DIR) {
MKSPECS_INSTALL_DIR=$${QT_HOST_DATA}/mkspecs
MKSPECS_INSTALL_DIR=$${QT_INSTALL_ARCHDATA}/mkspecs
}
qt_module.path = $${MKSPECS_INSTALL_DIR}/modules

Expand Down
2 changes: 1 addition & 1 deletion src/src.pro
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ include(dtk_module.prf)
prf.files+= $$PWD/*.prf

isEmpty(MKSPECS_INSTALL_DIR) {
MKSPECS_INSTALL_DIR=$${QT_HOST_DATA}/mkspecs
MKSPECS_INSTALL_DIR=$${QT_INSTALL_ARCHDATA}/mkspecs
}
prf.path = $${MKSPECS_INSTALL_DIR}/features

Expand Down

0 comments on commit 3f99873

Please sign in to comment.