Browse Source

fix macOS build

Sonnix 6 years ago
parent
commit
bb3890c613
3 changed files with 4 additions and 4 deletions
  1. 4 3
      Qqsp.pro
  2. BIN
      icons/qsp-logo.icns
  3. 0 1
      qsp/bindings/default/qsp_default.h

+ 4 - 3
Qqsp.pro

@@ -159,8 +159,7 @@ enable-webbox {
 
 CONFIG += enable-webbox
 
-disable-nativedialog
-{
+disable-nativedialog {
   DEFINES += _NONATIVEDIALOG
 }
 
@@ -173,10 +172,12 @@ enable-android {
 
 #CONFIG += enable-android
 
-unix {
+unix:!macx {
     CONFIG += disable-nativedialog
 }
 
+ICON = icons/qsp-logo.icns
+
 isEmpty(TARGET_EXT) {
     win32 {
         TARGET_CUSTOM_EXT = .exe

BIN
icons/qsp-logo.icns


+ 0 - 1
qsp/bindings/default/qsp_default.h

@@ -16,7 +16,6 @@
 */
 
 #include "../../qsp.h"
-#include "../../declarations.h"
 
 #ifndef QSP_DEFAULTDEFINES
 	#define QSP_DEFAULTDEFINES