Take three
This commit is contained in:
parent
37ea6e49b7
commit
b852b40863
@ -117,16 +117,19 @@ CONFIG += link_pkgconfig
|
||||
PKGCONFIG += libavformat libavcodec libswscale libavutil
|
||||
|
||||
mac {
|
||||
ICON = icons/icon.icns
|
||||
SOURCES += $$PWD/platformspecifics/mac/macbackend.cpp
|
||||
HEADERS += $$PWD/platformspecifics/mac/macbackend.hpp
|
||||
LIBS += -framework Carbon
|
||||
warning(Mac is on TODO);
|
||||
} else:win32 {
|
||||
RC_FILE = myapp.rc
|
||||
SOURCES += $$PWD/platformspecifics/u32/u32backend.cpp
|
||||
HEADERS += $$PWD/platformspecifics/u32/u32backend.hpp
|
||||
LIBS += -luser32 -lkernel32 -lpthread
|
||||
QT += winextras
|
||||
} else:unix {
|
||||
RC_FILE = myapp.rc
|
||||
SOURCES += $$PWD/platformspecifics/x11/x11backend.cpp
|
||||
HEADERS += $$PWD/platformspecifics/x11/x11backend.hpp
|
||||
QT += x11extras
|
||||
@ -151,10 +154,6 @@ DISTFILES += \
|
||||
RESOURCES += \
|
||||
icon.qrc
|
||||
|
||||
RC_FILE = icon.rc
|
||||
|
||||
ICON = icons/icon.ico
|
||||
|
||||
# Enable debug symbols
|
||||
QMAKE_CFLAGS_DEBUG += -g
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user