Skip to content

Commit c5dabc6

Browse files
committed
Minor ajdustment in macOs build
1 parent 0985ae9 commit c5dabc6

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

apps/pgmodeler/pgmodeler.pro

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@ include(../apps.pri)
33
TEMPLATE = app
44
TARGET = pgmodeler
55

6-
#unix:LIBS += $$QMAKE_LIBS_EXECINFO
7-
86
isEqual(PRIVATE_PLUGINS, true) {
97
windows:RC_FILE=$$PRIV_RES_FOLDER/$$TARGET/windows_ico.qrc
108
}
119

12-
#isEqual(PRIVATE_PLUGINS, false) {
13-
# windows:RC_FILE=res/windows_ico.qrc
14-
#}
15-
1610
HEADERS += src/pgmodelerapp.h
1711

1812
SOURCES += src/main.cpp \
@@ -23,8 +17,17 @@ target.path = $$BINDIR
2317
INSTALLS = target
2418

2519
macx {
26-
macdeps.files = $$PWD/res/Resources $$PWD/res/Info.plist $$PWD/res/PkgInfo
27-
macdeps.path = $$PREFIX
20+
macdeps.files = $$PWD/res/Info.plist $$PWD/res/PkgInfo
21+
22+
isEqual(PRIVATE_PLUGINS, true) {
23+
macdeps.files = $$PRIV_RES_FOLDER/$$TARGET/Resources
24+
}
25+
26+
isEqual(PRIVATE_PLUGINS, false) {
27+
macdeps.files = $$PWD/res/Resources
28+
}
29+
30+
macdeps.path = $$PREFIX
2831

2932
macscript.files = $$PWD/res/startapp
3033
macscript.path = $$BINDIR

0 commit comments

Comments
 (0)