aboutsummaryrefslogtreecommitdiffstats
path: root/misc/qbrew/files/patch-qbrew.pro
blob: 8e7117e0dd789e89dbbb69f6958e8914fde948b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Q_WS_* is deprecated. Rather than editing the code, just
convince ourselves that on BSD, we would still be using X11.

	https://www.kdab.com/porting-from-qt-4-to-qt-5/

--- qbrew.pro.orig	2008-05-26 02:21:05 UTC
+++ qbrew.pro
@@ -6,6 +6,7 @@
 TARGET = qbrew
 TEMPLATE = app
 CONFIG += qt warn_on
+QT += printsupport widgets xml
 
 MOC_DIR = build
 OBJECTS_DIR = build
@@ -72,6 +73,8 @@ unix:!macx {
         doc.path = /usr/local/share/doc/qbrew
     }
 
+    DEFINES += Q_WS_X11
+
     trans.files = translations/*.qm
     data.files = data/* pics/splash.png
     doc.files = docs/book/*.html docs/primer/*.html README LICENSE