Browse Source

added windows icons

gwillz 6 years ago
parent
commit
3943cc2d68
5 changed files with 37 additions and 7 deletions
  1. 15 7
      FBSlideshow.pro
  2. 1 0
      res.rc
  3. BIN
      setup.exe
  4. BIN
      silhouette-bunny.ico
  5. 21 0
      version.h

+ 15 - 7
FBSlideshow.pro

@@ -11,18 +11,26 @@ greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
 TARGET = photobunny
 TEMPLATE = app
 
-#LIBS += D:/Documents/Programs/FBSlideshow/qjson/qjson.lib #windows
-#INCLUDEPATH += D:/Documents/Programs/FBSlideshow/qjson/ #windows
-LIBS += /usr/lib/libqjson.so #linux
-
 SOURCES += main.cpp\
            slidewindow.cpp \
            fbApi.cpp \
-    dialogs.cpp
+           dialogs.cpp
 
 HEADERS  += slidewindow.h \
             fbApi.h \
-    dialogs.h
+            dialogs.h
 
 RESOURCES += \
-    resources.qrc
+            resources.qrc
+
+#platform specific stuff
+linux-g++* {
+    LIBS += /usr/lib/libqjson.so
+}
+
+win32 {
+    RC_FILE = res.rc
+    HEADERS += version.h
+    LIBS += D:/Documents/Programs/FBSlideshow/qjson/qjson.lib
+    INCLUDEPATH += D:/Documents/Programs/FBSlideshow/qjson/
+}

+ 1 - 0
res.rc

@@ -0,0 +1 @@
+IDI_ICON1               ICON    DISCARDABLE     "silhouette-bunny.ico"

BIN
setup.exe


BIN
silhouette-bunny.ico


+ 21 - 0
version.h

@@ -0,0 +1,21 @@
+#ifndef VERSION_H
+#define VERSION_H
+
+#define VER_FILEVERSION             1,0,0,0
+#define VER_FILEVERSION_STR         "1.0.0.0\0"
+
+#define VER_PRODUCTVERSION          1,0,0,0
+#define VER_PRODUCTVERSION_STR      "1.0\0"
+
+#define VER_COMPANYNAME_STR         "GwillzCorp"
+#define VER_FILEDESCRIPTION_STR     "PhotoBunny"
+#define VER_INTERNALNAME_STR        "photobunny"
+#define VER_LEGALCOPYRIGHT_STR      "Copyright (c) 2014 Gwilyn Saunders"
+#define VER_LEGALTRADEMARKS1_STR    "Licensed under GPL 3.0"
+#define VER_LEGALTRADEMARKS2_STR    "All Rights Reserved"
+#define VER_ORIGINALFILENAME_STR    "photobunny.exe"
+#define VER_PRODUCTNAME_STR         "PhotoBunny"
+
+#define VER_COMPANYDOMAIN_STR       "gwillz.com"
+
+#endif // VERSION_H