• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

Commit MetaInfo

Revision6fdcf9d42c9d67cb239d144c3ca375c1c3bec484 (tree)
Zeit2014-04-07 14:18:34
Autorjakago <jakago777@gmai...>
Commiterjakago

Log Message

条件によるビルドフラグの整理

Ändern Zusammenfassung

Diff

--- a/CaptureStream.pro
+++ b/CaptureStream.pro
@@ -4,8 +4,10 @@
44 QT += network \
55 xml \
66 xmlpatterns \
7- script \
8- widgets
7+ script
8+
9+greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
10+
911 TARGET = CaptureStream
1012 TEMPLATE = app
1113 SOURCES += main.cpp \
@@ -36,16 +38,15 @@ FORMS += mainwindow.ui \
3638 macx {
3739 #CONFIG += x86 ppc #x86_64
3840
39- #INCLUDEPATH += /Library/Frameworks/qca.framework/Versions/2/Headers
40- #LIBS += -L/Library/Frameworks -framework qca
41-
42- #ツールチェインでgcc-4.0を選ぶこと
43- #QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
44-
4541 QMAKE_CFLAGS_RELEASE += -fvisibility=hidden
4642 QMAKE_CXXFLAGS_RELEASE += -fvisibility=hidden
47- #QMAKE_CFLAGS_RELEASE += -fvisibility=hidden -mmacosx-version-min=10.4
48- #QMAKE_CXXFLAGS_RELEASE += -fvisibility=hidden -mmacosx-version-min=10.4
43+
44+ x86|ppc {
45+ #ツールチェインでgcc-4.0を選ぶこと
46+ QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
47+ QMAKE_CFLAGS_RELEASE += -mmacosx-version-min=10.4
48+ QMAKE_CXXFLAGS_RELEASE += -mmacosx-version-min=10.4
49+ }
4950
5051 release {
5152 QMAKE_POST_LINK += macdeployqt CaptureStream.app