From c9e7fe862763ad0038e2e964bccf5fafc26c70dc Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Tue, 4 Jun 2019 21:34:50 +0800 Subject: [PATCH] Initial macOS support. --- .gitignore | 3 +++ assets/thplayer.icns | Bin 0 -> 2483 bytes thplayer.pro | 4 ++++ 3 files changed, 7 insertions(+) create mode 100644 assets/thplayer.icns diff --git a/.gitignore b/.gitignore index e074123..f3d9498 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,6 @@ debian/.debhelper/ debian/thplayer/ debian/tmp/ *.debhelper.log + +# sh*tOS +.DS_Store diff --git a/assets/thplayer.icns b/assets/thplayer.icns new file mode 100644 index 0000000000000000000000000000000000000000..98857f5943c16725708a2c27222b3f2d4c5663ba GIT binary patch literal 2483 zcmd5;X;4#F6u$TIo+Lpa8W0y`XkmcXEp7#5@oBNRP+$-NaRFqF(j=0|76~tIV8v~0 zD;w1`MRf?N5JooKEZe^WAsvoO8c(zH`sL zqIj_kA#SxuoFqXATdk0$iez%3@K;P&kkpV-qoZ8Y6VqfOi8#ttvSMXoyj-@}H7+ea zMFi8~u5yWVIKrFQ1D2d&!v%|6#cNViuW@-+Lv8qx!3!s@O3ac)1HQ40aE(umlgaj3 zGsHey#)2Wk#c^LGhKu4Q;;VM{BOIb%ufLp(dOb{(Ee&26Ac~g*fw;7+{Ub(31uqPF z#UqAq8@zBqVpd|ptT%M7jByN4lSt$Y<_sI{GGU6R->37#mL(*mtV|WlGIR2GmhL-r zMtvT=`Y?WtXzUw&3-zLSp%+3Nc5`TOpfzta4;HNF%?${H^uQ1!&Jcj5X$O;D{>j1u zXQLxp$A@4MHZNdScqZ<=Gg-SR(T-}&i?fOL9+fy| zZK4Yz>K_GiHhh$_-poJv)uf}N|q5nGDJStkD;p=qN73EMy|jVUyzMd%Q4lsx1@o4 zp5QsV^&p~_;IW=Qdj5cvMuei~zNS*z zl|>)=*O8~ee}?jeJD=;p*NLipLa1=ZE60a?0&A!tgUG|F1R_9pV@EB z7Us-2ptj`KnwYp4Wa*qusv=;UqT*Vvqce+a=pGJn7~-Dptq^$8G1<^P``5iYL(*MXfKEzoNiuRO=i0eRihW{nOFQgsamRv+1 zXNZH_bkE2s_#Mq#EI9fFWsmU}0GRHvt=FB0(jQy)`0rj8B_@iMOjoT1EXnaH9OEvP*PVu`q5=(>9>s$+iEDK7W(9^*P$4SD0_r zrmRoaY0IT0oQZ zc0~iK#?+3basS$J~>kO^N#2B+%s2Bt~xlO=`L``X7K6eU#MH445$( ztX`@y;0+F~y6*OSf&xJy6t6JZ&_LFMw@h+`v(TMIZI5gBXntadk=r!{*#-xrxYkoJ z68!3iMKPLUhA6CloWPAZCX85)PTLgFTz2st^&@i%r{=;GFMFLRCmo@W--yBtL-Z`kr5hIi2H z$M|IET+UZ)uL|tmR6|{TaV@9++C>Liv98yh5A6WyJXCOC8cW#$E(y&}Gj%=-C4S63 zC6`b!1gEQDcnV~xlY6U-h9*V$mXo)jCB2im^n*gbgr2JpEIrRzHuKuI3g(hxx4ICg z<)=z6S5%)xVY9l)FTwfh%n0`#(B{G$eN}KlggTa9=Y9*^?5BmWaG}`cC9fgAXNb8} xgTMnS;^%vdOK9kM?_mC(+_P_Kn5w8js_OL2JK=}KQg~{hd2@mTj?9i-_ZLW1j@1AF literal 0 HcmV?d00001 diff --git a/thplayer.pro b/thplayer.pro index 499df23..b52d01e 100644 --- a/thplayer.pro +++ b/thplayer.pro @@ -79,6 +79,10 @@ unix { QMAKE_CXXFLAGS += -std=c++11 -Wall } +macx { + ICON = assets/thplayer.icns +} + RESOURCES += \ res.qrc INCLUDEPATH += \