Take three

This commit is contained in:
ArsenArsen 2017-07-05 19:41:41 +02:00
parent 37ea6e49b7
commit b852b40863
2 changed files with 4 additions and 5 deletions

View File

@ -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

View File

@ -1 +1 @@
IDI_ICON1 ICON DISCARDABLE "icons/icon.icns"
IDI_ICON1 ICON DISCARDABLE "icons/icon.ico"