summaryrefslogtreecommitdiff
path: root/development/gambas3/qt5-ext-5.7.patch
blob: 662a3edcd542674ca7ba31a9625b7700368a3e7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Commit [r8061]  Maximize  History

[GB.QT5.EXT]
* BUG: The component now should compile correctly with C++11.
Authored by:  gambas 3 days ago
Browse code at this revision
Parent: [r8060]
changed	/gambas/trunk/gb.qt5/configure.ac
changed	/gambas/trunk/gb.qt5/src/ext/Makefile.am
/gambas/trunk/gb.qt5/configure.ac Diff Switch to side-by-side view
--- a/gambas/trunk/gb.qt5/configure.ac
+++ b/gambas/trunk/gb.qt5/configure.ac
@@ -14,11 +14,6 @@
   qt5, QT5, gb.qt5, [src],
   'Qt5Core >= 5.3.0' Qt5Gui Qt5Widgets Qt5Svg Qt5PrintSupport Qt5X11Extras x11
 )
-
-## GB_COMPONENT_PKG_CONFIG(
-##   qt5ext, QT5EXT, gb.qt5.ext, [ext],
-##   'Qt5Core >= 5.4.0' Qt5Gui Qt5Widgets
-## )
 
 GB_COMPONENT_PKG_CONFIG(
   qt5webkit, QT5WEBKIT, gb.qt5.webkit, [webkit],
@@ -55,6 +50,4 @@
 src/ext/Makefile \
 )
 
-## src/ext/Makefile \
-
 GB_PRINT_MESSAGES
--- a/gambas/trunk/gb.qt5/src/ext/Makefile.am
+++ b/gambas/trunk/gb.qt5/src/ext/Makefile.am
@@ -6,6 +6,7 @@
 
 gb_qt5_ext_la_LIBADD = @QT5EXT_LIB@
 gb_qt5_ext_la_LDFLAGS = -module @LD_FLAGS@ @QT5EXT_LDFLAGS@
+gb_qt5_ext_la_CXXFLAGS = @THREAD_INC@ $(AM_CXXFLAGS) -std=c++11
 gb_qt5_ext_la_CPPFLAGS = @QT5EXT_INC@ -I$(top_srcdir)/share -I$(top_srcdir)/src/share
 
 gb_qt5_ext_la_SOURCES = \