Changeset 424
Legend:
- Unmodified
- Added
- Removed
-
trunk/m2/m2
r250 r424 79 79 configuration: context [ 80 80 release: debug: warn: false 81 opengl: qt: x11: false81 opengl: qt: qt-static: x11: false 82 82 ] 83 83 … … 332 332 qt3: func [{Using Troll Tech's Qt 3.}] [ m2/ct/cfg/qt: 3 ] 333 333 qt: func [{Using Troll Tech's Qt 4.} libs [block!]] [ m2/ct/cfg/qt: libs ] 334 qt-static: does [m2/ct/cfg/qt-static: true] 334 335 x11: func [{Using X11 libraries.}] [ m2/ct/cfg/x11: true ] 335 336 -
trunk/m2/m2_macx.r
r277 r424 69 69 70 70 71 qt- includes: context [71 qt-libs: context [ 72 72 gui: does [include_from {/Library/Frameworks/QtGui.framework/Headers} 73 73 lflags {-framework QtGui}] … … 89 89 ] 90 90 91 qt-static-libs: context [ 92 qlib: func [name] [ 93 include_from join {$(QTDIR)/include/} name 94 lflags join {-l} name 95 ] 96 gui: does [qlib {QtGui}] 97 network: does [qlib {QtNetwork}] 98 opengl: does [qlib {QtOpenGL}] 99 xml: does [qlib {QtXml}] 100 svg: does [qlib {QtSvg}] 101 sql: does [qlib {QtSql}] 102 support: does [qlib {Qt3Support} cxxflags {-DQT3_SUPPORT}] 103 ] 91 104 92 105 exe_target: make m2/target_env … … 132 145 include_from {$(QTDIR)/include} 133 146 ][ 134 include_from {/Library/Frameworks/QtCore.framework/Headers} 135 cflags {-F/Library/Frameworks} 136 lflags {-F/Library/Frameworks -framework QtCore} 137 lflags {-framework Carbon} 138 do bind cfg/qt in qt-includes 'gui 147 either cfg/qt-static [ 148 include_from {$(QTDIR)/include} 149 include_from {$(QTDIR)/include/QtCore} 150 lflags {-L$(QTDIR)/lib -lQtCore} 151 lflags {-framework Carbon -lz -liconv} 152 do bind cfg/qt in qt-static-libs 'gui 153 ][ 154 include_from {/Library/Frameworks/QtCore.framework/Headers} 155 cflags {-F/Library/Frameworks} 156 lflags {-F/Library/Frameworks -framework QtCore} 157 lflags {-framework Carbon} 158 do bind cfg/qt in qt-libs 'gui 159 ] 139 160 ] 140 161 if cfg/release [ … … 160 181 lflags {-framework Carbon -lz} 161 182 ] 162 ;[163 ; lflags {-bind_at_load -framework QtGui -framework QtCore}164 ; lflags {-framework Carbon}165 ;]166 183 ] 167 184 ]
