Browse Source

Take three

tags/v5.0.0^2
ArsenArsen 5 years ago
parent
commit
b852b40863
  1. 7
      KShare.pro
  2. 2
      icon.rc

7
KShare.pro

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

2
icon.rc

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

Loading…
Cancel
Save