LIBS += framework foundation

portability/macos
Rachel Fae Fox (foxiepaws) 2019-07-22 09:21:23 -04:00
parent a95df29d8f
commit 713d952cef
1 changed files with 6 additions and 2 deletions

View File

@ -31,9 +31,11 @@ CONFIG += c++17
QMAKE_CXXFLAGS_DEBUG += -Og
# automatically build file lists
SOURCES += $$files(*.cpp, true)
SOURCES += $$files(*.cpp, true) \
util/macos_urlhelper.mm
HEADERS += $$files(*.h, true) \
$$files(*.hpp, true)
$$files(*.hpp, true) \
util/macos_urlhelper.h
FORMS += $$files(*.ui, true)
RESOURCES += res/resources.qrc
@ -45,6 +47,8 @@ macx: {
DEFINES += WITH_BOOST
LIBS += -L/usr/local/Cellar/boost/1.70.0/lib/ -lboost_math_tr1
LIBS += -framework OpenGL
LIBS += -framework Foundation
OBJECTIVE_SOURCES += util/macos_urlhelper.h
QMAKE_CXXFLAGS += -I/usr/local/Cellar/boost/1.70.0/include/
}