Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 99f3d20

Browse files
committed
example stuff back again
1 parent 5ef31a2 commit 99f3d20

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

examples/restclient/JsonPlaceholderApi/JsonPlaceholderApi.pro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,13 @@ REST_API_CLASSES += api.json \
1717
target.path = $$[QT_INSTALL_EXAMPLES]/restclient/$$TARGET
1818
INSTALLS += target
1919

20+
#not found by linker?
21+
unix:!mac {
22+
LIBS += -L$$OUT_PWD/../../../lib #required to make this the first place to search
23+
LIBS += -L$$[QT_INSTALL_LIBS] -licudata
24+
LIBS += -L$$[QT_INSTALL_LIBS] -licui18n
25+
LIBS += -L$$[QT_INSTALL_LIBS] -licuuc
26+
}
27+
2028
#add lib dir to rpath
2129
mac: QMAKE_LFLAGS += '-Wl,-rpath,\'$$OUT_PWD/../../../lib\''

examples/restclient/SimpleRestClientApp/SimpleRestClientApp.pro

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,13 @@ FORMS += mainwindow.ui
1313
target.path = $$[QT_INSTALL_EXAMPLES]/restclient/$$TARGET
1414
INSTALLS += target
1515

16+
#not found by linker?
17+
unix:!mac {
18+
LIBS += -L$$OUT_PWD/../../../lib #required to make this the first place to search
19+
LIBS += -L$$[QT_INSTALL_LIBS] -licudata
20+
LIBS += -L$$[QT_INSTALL_LIBS] -licui18n
21+
LIBS += -L$$[QT_INSTALL_LIBS] -licuuc
22+
}
23+
1624
#add lib dir to rpath
1725
mac: QMAKE_LFLAGS += '-Wl,-rpath,\'$$OUT_PWD/../../../lib\''

0 commit comments

Comments
 (0)