ObjQt  Check-in [38d57b4977]

Overview
Comment:Make the Qt project work on Windows
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 38d57b4977f58225bb6fcf7371f9fae04f48ac5df11e0589b669886d79fa26dd
User & Date: js on 2017-04-16 19:09:25
Other Links: manifest | tags
Context
2017-04-17
23:25
Add a proper build system check-in: baf52ea3b1 user: js tags: trunk
2017-04-16
19:09
Make the Qt project work on Windows check-in: 38d57b4977 user: js tags: trunk
2017-04-15
17:18
Make toOF/toQt more powerful and complete QtWidget check-in: 3ece549448 user: js tags: trunk
Changes

Modified ObjQt.pro from [f5d1613e99] to [f6f75493ea].

33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51


52
53
	   QtCore/QtThread.mm			\
	   QtGui/QtGUIApplication.mm		\
	   QtGui/QtPaintDevice.mm		\
	   QtWidgets/QtAction.mm		\
	   QtWidgets/QtApplication.mm		\
	   QtWidgets/QtWidget.mm

OBJCFLAGS += $$system("objfw-config --cppflags --objcflags --cxxflags")
OBJCFLAGS_WARN_ON = -Wall				\
		    -Werror				\
		    -Wsemicolon-before-method-body	\
		    -Wobjc-missing-property-synthesis

# qmake treats .mm files as C++ on Mac, but as C on everything else
macx:QMAKE_CXXFLAGS += $$OBJCFLAGS
macx:QMAKE_CXXFLAGS_WARN_ON = $$OBJCFLAGS_WARN_ON
!macx:QMAKE_CC = clang++
!macx:QMAKE_CFLAGS += -std=c++11 $$OBJCFLAGS
!macx:QMAKE_CFLAGS_WARN_ON = $$OBJCFLAGS_WARN_ON



LIBS += $$system("objfw-config --ldflags --libs")







|











>
>

|
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
	   QtCore/QtThread.mm			\
	   QtGui/QtGUIApplication.mm		\
	   QtGui/QtPaintDevice.mm		\
	   QtWidgets/QtAction.mm		\
	   QtWidgets/QtApplication.mm		\
	   QtWidgets/QtWidget.mm

OBJCFLAGS += $$system("sh -c 'objfw-config --cppflags --objcflags --cxxflags'")
OBJCFLAGS_WARN_ON = -Wall				\
		    -Werror				\
		    -Wsemicolon-before-method-body	\
		    -Wobjc-missing-property-synthesis

# qmake treats .mm files as C++ on Mac, but as C on everything else
macx:QMAKE_CXXFLAGS += $$OBJCFLAGS
macx:QMAKE_CXXFLAGS_WARN_ON = $$OBJCFLAGS_WARN_ON
!macx:QMAKE_CC = clang++
!macx:QMAKE_CFLAGS += -std=c++11 $$OBJCFLAGS
!macx:QMAKE_CFLAGS_WARN_ON = $$OBJCFLAGS_WARN_ON
win32:QMAKE_CFLAGS -= -fno-keep-inline-dllexport
win32:QMAKE_CFLAGS_WARN_ON += -Wno-ignored-attributes

LIBS += $$system("sh -c 'objfw-config --ldflags --libs'")