Changeset 556 for branches/vendor/nokia/qt/current/qmake
- Timestamp:
- Feb 10, 2010, 12:52:55 AM (16 years ago)
- Location:
- branches/vendor/nokia/qt/current/qmake
- Files:
-
- 10 added
- 46 edited
-
Makefile.unix (modified) (7 diffs)
-
Makefile.win32 (modified) (17 diffs)
-
Makefile.win32-g++ (modified) (11 diffs)
-
Makefile.win32-g++-sh (modified) (10 diffs)
-
cachekeys.h (modified) (3 diffs)
-
generators/mac/pbuilder_pbx.cpp (modified) (4 diffs)
-
generators/mac/pbuilder_pbx.h (modified) (3 diffs)
-
generators/makefile.cpp (modified) (43 diffs)
-
generators/makefile.h (modified) (4 diffs)
-
generators/makefiledeps.cpp (modified) (6 diffs)
-
generators/makefiledeps.h (modified) (3 diffs)
-
generators/metamakefile.cpp (modified) (16 diffs)
-
generators/metamakefile.h (modified) (4 diffs)
-
generators/projectgenerator.cpp (modified) (3 diffs)
-
generators/projectgenerator.h (modified) (3 diffs)
-
generators/symbian (added)
-
generators/symbian/epocroot.h (added)
-
generators/symbian/initprojectdeploy_symbian.cpp (added)
-
generators/symbian/initprojectdeploy_symbian.h (added)
-
generators/symbian/symmake.cpp (added)
-
generators/symbian/symmake.h (added)
-
generators/symbian/symmake_abld.cpp (added)
-
generators/symbian/symmake_abld.h (added)
-
generators/symbian/symmake_sbsv2.cpp (added)
-
generators/symbian/symmake_sbsv2.h (added)
-
generators/unix/unixmake.cpp (modified) (8 diffs)
-
generators/unix/unixmake.h (modified) (3 diffs)
-
generators/unix/unixmake2.cpp (modified) (7 diffs)
-
generators/win32/borland_bmake.cpp (modified) (3 diffs)
-
generators/win32/borland_bmake.h (modified) (3 diffs)
-
generators/win32/mingw_make.cpp (modified) (6 diffs)
-
generators/win32/mingw_make.h (modified) (4 diffs)
-
generators/win32/msvc_dsp.cpp (modified) (4 diffs)
-
generators/win32/msvc_dsp.h (modified) (3 diffs)
-
generators/win32/msvc_nmake.cpp (modified) (4 diffs)
-
generators/win32/msvc_nmake.h (modified) (3 diffs)
-
generators/win32/msvc_objectmodel.cpp (modified) (13 diffs)
-
generators/win32/msvc_objectmodel.h (modified) (4 diffs)
-
generators/win32/msvc_vcproj.cpp (modified) (18 diffs)
-
generators/win32/msvc_vcproj.h (modified) (3 diffs)
-
generators/win32/winmakefile.cpp (modified) (6 diffs)
-
generators/win32/winmakefile.h (modified) (4 diffs)
-
generators/xmloutput.cpp (modified) (4 diffs)
-
generators/xmloutput.h (modified) (3 diffs)
-
main.cpp (modified) (6 diffs)
-
meta.cpp (modified) (3 diffs)
-
meta.h (modified) (3 diffs)
-
option.cpp (modified) (8 diffs)
-
option.h (modified) (5 diffs)
-
project.cpp (modified) (23 diffs)
-
project.h (modified) (6 diffs)
-
property.cpp (modified) (3 diffs)
-
property.h (modified) (3 diffs)
-
qmake.pri (modified) (10 diffs)
-
qmake.pro (modified) (1 diff)
-
qmake_pch.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/vendor/nokia/qt/current/qmake/Makefile.unix
r2 r556 10 10 mingw_make.o option.o winmakefile.o projectgenerator.o \ 11 11 meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o \ 12 borland_bmake.o msvc_dsp.o msvc_vcproj.o msvc_nmake.o msvc_objectmodel.o 12 borland_bmake.o msvc_dsp.o msvc_vcproj.o msvc_nmake.o msvc_objectmodel.o \ 13 symmake.o initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o 13 14 14 15 #qt code 15 QOBJS=q string.o qtextstream.o qiodevice.o qmalloc.o qglobal.o \16 qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist data.o qfile.o \16 QOBJS=qstring.o qtextstream.o qiodevice.o qmalloc.o qglobal.o \ 17 qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfile.o \ 17 18 qfsfileengine_unix.o qfsfileengine_iterator_unix.o qfsfileengine.o \ 18 19 qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o \ 19 20 qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o \ 20 21 qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o qvsnprintf.o \ 21 qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o \ 22 qscriptasm.o qscriptast.o qscriptastvisitor.o \ 23 qscriptcompiler.o qscriptecmaarray.o qscriptecmaboolean.o \ 24 qscriptecmacore.o qscriptecmadate.o qscriptecmafunction.o \ 25 qscriptecmaglobal.o qscriptecmamath.o qscriptecmanumber.o \ 26 qscriptecmaobject.o qscriptecmaregexp.o qscriptecmastring.o \ 27 qscriptecmaerror.o qscriptcontext_p.o qscriptengine.o \ 28 qscriptengine_p.o qscriptextenumeration.o qscriptextvariant.o \ 29 qscriptcontext.o qscriptfunction.o \ 30 qscriptgrammar.o qscriptlexer.o qscriptclassdata.o \ 31 qscriptparser.o qscriptprettypretty.o qscriptsyntaxchecker.o \ 32 qscriptvalue.o qscriptvalueimpl.o qscriptvalueiterator.o \ 33 qscriptvalueiteratorimpl.o \ 34 qscriptclass.o qscriptclasspropertyiterator.o \ 35 qscriptengineagent.o qscriptcontextinfo.o qscriptstring.o \ 22 qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o \ 36 23 $(QTOBJS) 37 24 … … 45 32 generators/makefiledeps.cpp option.cpp generators/win32/mingw_make.cpp generators/makefile.cpp \ 46 33 generators/win32/msvc_objectmodel.cpp generators/win32/msvc_nmake.cpp generators/win32/borland_bmake.cpp \ 34 35 36 47 37 $(SOURCE_PATH)/src/corelib/tools/qstring.cpp $(SOURCE_PATH)/src/corelib/io/qfile.cpp \ 48 38 $(SOURCE_PATH)/src/corelib/io/qtextstream.cpp $(SOURCE_PATH)/src/corelib/io/qiodevice.cpp \ … … 53 43 $(SOURCE_PATH)/src/corelib/io/qfsfileengine_unix.cpp $(SOURCE_PATH)/src/corelib/io/qabstractfileengine.cpp \ 54 44 $(SOURCE_PATH)/src/corelib/io/qfsfileengine_iterator_unix.cpp $(SOURCE_PATH)/src/corelib/io/qfsfileengine_iterator.cpp \ 55 $(SOURCE_PATH)/src/corelib/io/qfsfileengine.cpp $(SOURCE_PATH)/src/corelib/tools/qlist data.cpp \45 $(SOURCE_PATH)/src/corelib/io/qfsfileengine.cpp $(SOURCE_PATH)/src/corelib/tools/qlist.cpp \ 56 46 $(SOURCE_PATH)/src/corelib/tools/qvector.cpp $(SOURCE_PATH)/src/corelib/tools/qbitarray.cpp \ 57 47 $(SOURCE_PATH)/src/corelib/io/qdiriterator.cpp \ … … 66 56 $(SOURCE_PATH)/src/corelib/global/qlibraryinfo.cpp $(SOURCE_PATH)/src/corelib/tools/qcryptographichash.cpp \ 67 57 $(SOURCE_PATH)/src/corelib/tools/qvsnprintf.cpp $(SOURCE_PATH)/src/corelib/global/qnumeric.cpp \ 68 $(SOURCE_PATH)/src/script/qscriptasm.cpp \ 69 $(SOURCE_PATH)/src/script/qscriptast.cpp $(SOURCE_PATH)/src/script/qscriptastvisitor.cpp \ 70 $(SOURCE_PATH)/src/script/qscriptcompiler.cpp $(SOURCE_PATH)/src/script/qscriptecmaarray.cpp \ 71 $(SOURCE_PATH)/src/script/qscriptecmaboolean.cpp $(SOURCE_PATH)/src/script/qscriptecmacore.cpp \ 72 $(SOURCE_PATH)/src/script/qscriptecmadate.cpp $(SOURCE_PATH)/src/script/qscriptecmafunction.cpp \ 73 $(SOURCE_PATH)/src/script/qscriptecmaglobal.cpp $(SOURCE_PATH)/src/script/qscriptecmamath.cpp \ 74 $(SOURCE_PATH)/src/script/qscriptecmanumber.cpp $(SOURCE_PATH)/src/script/qscriptecmaobject.cpp \ 75 $(SOURCE_PATH)/src/script/qscriptecmaregexp.cpp $(SOURCE_PATH)/src/script/qscriptecmastring.cpp \ 76 $(SOURCE_PATH)/src/script/qscriptecmaerror.cpp $(SOURCE_PATH)/src/script/qscriptcontext_p.cpp \ 77 $(SOURCE_PATH)/src/script/qscriptengine.cpp $(SOURCE_PATH)/src/script/qscriptengine_p.cpp \ 78 $(SOURCE_PATH)/src/script/qscriptextenumeration.cpp $(SOURCE_PATH)/src/script/qscriptextvariant.cpp \ 79 $(SOURCE_PATH)/src/script/qscriptcontext.cpp $(SOURCE_PATH)/src/script/qscriptfunction.cpp \ 80 $(SOURCE_PATH)/src/script/qscriptgrammar.cpp \ 81 $(SOURCE_PATH)/src/script/qscriptlexer.cpp $(SOURCE_PATH)/src/script/qscriptclassdata.cpp \ 82 $(SOURCE_PATH)/src/script/qscriptparser.cpp $(SOURCE_PATH)/src/script/qscriptprettypretty.cpp \ 83 $(SOURCE_PATH)/src/script/qscriptsyntaxchecker.cpp $(SOURCE_PATH)/src/script/qscriptvalueimpl.cpp \ 84 $(SOURCE_PATH)/src/script/qscriptvalue.cpp $(SOURCE_PATH)/src/script/qscriptvalueiterator.cpp \ 85 $(SOURCE_PATH)/src/script/qscriptvalueiteratorimpl.cpp \ 86 $(SOURCE_PATH)/src/script/qscriptclass.cpp $(SOURCE_PATH)/src/script/qscriptclasspropertyiterator.cpp \ 87 $(SOURCE_PATH)/src/script/qscriptengineagent.cpp $(SOURCE_PATH)/src/script/qscriptcontextinfo.cpp \ 88 $(SOURCE_PATH)/src/script/qscriptstring.cpp \ 58 $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp \ 59 $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp \ 89 60 $(QTSRCS) 90 61 91 CPPFLAGS = -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \62 CPPFLAGS = -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac \ 92 63 -I$(BUILD_PATH)/include -I$(BUILD_PATH)/include/QtCore \ 93 -I$(BUILD_PATH)/src/corelib/global \94 - I$(SOURCE_PATH)/src/script -DQT_NO_PCRE \64 -I$(BUILD_PATH)/src/corelib/global \ 65 -DQT_NO_PCRE \ 95 66 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED \ 96 67 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL \ … … 161 132 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/io/qurl.cpp 162 133 134 135 136 137 138 139 163 140 qstring.o: $(SOURCE_PATH)/src/corelib/tools/qstring.cpp 164 141 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qstring.cpp … … 173 150 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/io/qbuffer.cpp 174 151 175 qlist data.o: $(SOURCE_PATH)/src/corelib/tools/qlistdata.cpp176 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qlist data.cpp152 qlist.cpp 153 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qlist.cpp 177 154 178 155 qfile.o: $(SOURCE_PATH)/src/corelib/io/qfile.cpp … … 293 270 $(CXX) -c -o $@ $(CXXFLAGS) generators/win32/msvc_dsp.cpp 294 271 272 273 274 275 276 277 278 279 280 281 282 283 295 284 projectgenerator.o: generators/projectgenerator.cpp 296 285 $(CXX) -c -o $@ $(CXXFLAGS) generators/projectgenerator.cpp 297 286 298 qscriptasm.o: $(SOURCE_PATH)/src/script/qscriptasm.cpp 299 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptasm.cpp 300 301 qscriptast.o: $(SOURCE_PATH)/src/script/qscriptast.cpp 302 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptast.cpp 303 304 qscriptastvisitor.o: $(SOURCE_PATH)/src/script/qscriptastvisitor.cpp 305 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptastvisitor.cpp 306 307 qscriptcompiler.o: $(SOURCE_PATH)/src/script/qscriptcompiler.cpp 308 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcompiler.cpp 309 310 qscriptecmaarray.o: $(SOURCE_PATH)/src/script/qscriptecmaarray.cpp 311 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaarray.cpp 312 313 qscriptecmaboolean.o: $(SOURCE_PATH)/src/script/qscriptecmaboolean.cpp 314 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaboolean.cpp 315 316 qscriptecmacore.o: $(SOURCE_PATH)/src/script/qscriptecmacore.cpp 317 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmacore.cpp 318 319 qscriptecmadate.o: $(SOURCE_PATH)/src/script/qscriptecmadate.cpp 320 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmadate.cpp 321 322 qscriptecmafunction.o: $(SOURCE_PATH)/src/script/qscriptecmafunction.cpp 323 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmafunction.cpp 324 325 qscriptecmaglobal.o: $(SOURCE_PATH)/src/script/qscriptecmaglobal.cpp 326 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaglobal.cpp 327 328 qscriptecmamath.o: $(SOURCE_PATH)/src/script/qscriptecmamath.cpp 329 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmamath.cpp 330 331 qscriptecmanumber.o: $(SOURCE_PATH)/src/script/qscriptecmanumber.cpp 332 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmanumber.cpp 333 334 qscriptecmaobject.o: $(SOURCE_PATH)/src/script/qscriptecmaobject.cpp 335 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaobject.cpp 336 337 qscriptecmaregexp.o: $(SOURCE_PATH)/src/script/qscriptecmaregexp.cpp 338 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaregexp.cpp 339 340 qscriptecmastring.o: $(SOURCE_PATH)/src/script/qscriptecmastring.cpp 341 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmastring.cpp 342 343 qscriptecmaerror.o: $(SOURCE_PATH)/src/script/qscriptecmaerror.cpp 344 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaerror.cpp 345 346 qscriptcontext_p.o: $(SOURCE_PATH)/src/script/qscriptcontext_p.cpp 347 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcontext_p.cpp 348 349 qscriptengine.o: $(SOURCE_PATH)/src/script/qscriptengine.cpp 350 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptengine.cpp 351 352 qscriptengine_p.o: $(SOURCE_PATH)/src/script/qscriptengine_p.cpp 353 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptengine_p.cpp 354 355 qscriptextenumeration.o: $(SOURCE_PATH)/src/script/qscriptextenumeration.cpp 356 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptextenumeration.cpp 357 358 qscriptextvariant.o: $(SOURCE_PATH)/src/script/qscriptextvariant.cpp 359 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptextvariant.cpp 360 361 qscriptcontext.o: $(SOURCE_PATH)/src/script/qscriptcontext.cpp 362 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcontext.cpp 363 364 qscriptfunction.o: $(SOURCE_PATH)/src/script/qscriptfunction.cpp 365 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptfunction.cpp 366 367 qscriptgrammar.o: $(SOURCE_PATH)/src/script/qscriptgrammar.cpp 368 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptgrammar.cpp 369 370 qscriptlexer.o: $(SOURCE_PATH)/src/script/qscriptlexer.cpp 371 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptlexer.cpp 372 373 qscriptclassdata.o: $(SOURCE_PATH)/src/script/qscriptclassdata.cpp 374 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptclassdata.cpp 375 376 qscriptparser.o: $(SOURCE_PATH)/src/script/qscriptparser.cpp 377 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptparser.cpp 378 379 qscriptprettypretty.o: $(SOURCE_PATH)/src/script/qscriptprettypretty.cpp 380 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptprettypretty.cpp 381 382 qscriptsyntaxchecker.o: $(SOURCE_PATH)/src/script/qscriptsyntaxchecker.cpp 383 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptsyntaxchecker.cpp 384 385 qscriptvalue.o: $(SOURCE_PATH)/src/script/qscriptvalue.cpp 386 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalue.cpp 387 388 qscriptvalueimpl.o: $(SOURCE_PATH)/src/script/qscriptvalueimpl.cpp 389 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalueimpl.cpp 390 391 qscriptvalueiterator.o: $(SOURCE_PATH)/src/script/qscriptvalueiterator.cpp 392 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalueiterator.cpp 393 394 qscriptvalueiteratorimpl.o: $(SOURCE_PATH)/src/script/qscriptvalueiteratorimpl.cpp 395 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalueiteratorimpl.cpp 396 397 qscriptclass.o: $(SOURCE_PATH)/src/script/qscriptclass.cpp 398 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptclass.cpp 399 400 qscriptclasspropertyiterator.o: $(SOURCE_PATH)/src/script/qscriptclasspropertyiterator.cpp 401 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptclasspropertyiterator.cpp 402 403 qscriptengineagent.o: $(SOURCE_PATH)/src/script/qscriptengineagent.cpp 404 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptengineagent.cpp 405 406 qscriptcontextinfo.o: $(SOURCE_PATH)/src/script/qscriptcontextinfo.cpp 407 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcontextinfo.cpp 408 409 qscriptstring.o: $(SOURCE_PATH)/src/script/qscriptstring.cpp 410 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptstring.cpp 411 287 qxmlstream.o: $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp 288 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp 289 290 qxmlutils.o: $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp 291 $(CXX) -c -o $@ $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp 412 292 #default rules 413 293 .cpp.o: -
branches/vendor/nokia/qt/current/qmake/Makefile.win32
r2 r556 29 29 CFLAGS = -c -Fo$@ \ 30 30 -W3 -nologo -O2 \ 31 -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac \31 -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac \ 32 32 -I$(BUILD_PATH)\include -I$(BUILD_PATH)\include\QtCore \ 33 33 -I$(SOURCE_PATH)\include -I$(SOURCE_PATH)\include\QtCore \ 34 34 -I$(BUILD_PATH)\src\corelib\global \ 35 -I$(BUILD_PATH)\ include\QtScript\35 -I$(BUILD_PATH)\ \ 36 36 -I$(SOURCE_PATH)\mkspecs\$(QMAKESPEC) \ 37 37 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL \ … … 42 42 LFLAGS = 43 43 LIBS = ole32.lib advapi32.lib 44 LINKQMAKE = $(LINK) $(LFLAGS) - DEBUG -OUT:qmake.exe $(OBJS) $(QTOBJS) $(LIBS)44 LINKQMAKE = $(LINK) $(LFLAGS) -OUT:qmake.exe $(OBJS) $(QTOBJS) $(LIBS) 45 45 ADDCLEAN = vc60.pdb vc70.pdb qmake.pdb qmake.ilk 46 46 !ELSE … … 55 55 CFLAGS = -c -o$@ \ 56 56 -tWR -w -w-hid -w-use -O1 \ 57 -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac \57 -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac \ 58 58 -I$(BUILD_PATH)\include -I$(BUILD_PATH)\include\QtCore \ 59 59 -I$(SOURCE_PATH)\include -I$(SOURCE_PATH)\include\QtCore \ … … 75 75 makefiledeps.obj metamakefile.obj xmloutput.obj pbuilder_pbx.obj \ 76 76 borland_bmake.obj msvc_nmake.obj msvc_dsp.obj msvc_vcproj.obj \ 77 msvc_objectmodel.obj 77 msvc_objectmodel.obj symmake.obj initprojectdeploy_symbian.obj \ 78 symmake_abld.obj symmake_sbsv2.obj 78 79 79 80 !IFDEF QMAKE_OPENSOURCE_EDITION … … 85 86 qbitarray.obj \ 86 87 qbuffer.obj \ 87 qcryptographichash.obj \88 qcryptographichash.obj \ 88 89 qfsfileengine.obj \ 89 90 qfsfileengine_iterator.obj \ 90 91 qbytearray.obj \ 91 qvsnprintf.obj \92 qvsnprintf.obj \ 92 93 qbytearraymatcher.obj \ 93 94 qdatetime.obj \ … … 103 104 qhash.obj \ 104 105 qiodevice.obj \ 105 qlist data.obj \106 qlist.obj \ 106 107 qlinkedlist.obj \ 107 108 qlocale.obj \ 108 qmalloc.obj \109 qmalloc.obj \ 109 110 qmap.obj \ 110 111 qregexp.obj \ 112 113 111 114 qstring.obj \ 112 115 qstringlist.obj \ … … 118 121 qlibraryinfo.obj \ 119 122 qvariant.obj \ 120 qurl.obj \123 qurl.obj \ 121 124 qsettings_win.obj \ 122 qmetatype.obj \ 123 qnumeric.obj \ 124 qscriptasm.obj \ 125 qscriptast.obj \ 126 qscriptastvisitor.obj \ 127 qscriptcompiler.obj \ 128 qscriptecmaarray.obj \ 129 qscriptecmaboolean.obj \ 130 qscriptecmacore.obj \ 131 qscriptecmadate.obj \ 132 qscriptecmafunction.obj \ 133 qscriptecmaglobal.obj \ 134 qscriptecmamath.obj \ 135 qscriptecmanumber.obj \ 136 qscriptecmaobject.obj \ 137 qscriptecmaregexp.obj \ 138 qscriptecmastring.obj \ 139 qscriptecmaerror.obj \ 140 qscriptcontext_p.obj \ 141 qscriptengine.obj \ 142 qscriptengine_p.obj \ 143 qscriptengineagent.obj \ 144 qscriptextenumeration.obj \ 145 qscriptextvariant.obj \ 146 qscriptcontext.obj \ 147 qscriptcontextinfo.obj \ 148 qscriptfunction.obj \ 149 qscriptgrammar.obj \ 150 qscriptlexer.obj \ 151 qscriptclassdata.obj \ 152 qscriptparser.obj \ 153 qscriptprettypretty.obj \ 154 qscriptsyntaxchecker.obj \ 155 qscriptclass.obj \ 156 qscriptclasspropertyiterator.obj \ 157 qscriptstring.obj \ 158 qscriptvalue.obj \ 159 qscriptvalueimpl.obj \ 160 qscriptvalueiterator.obj \ 161 qscriptvalueiteratorimpl.obj 125 qmetatype.obj \ 126 qxmlstream.obj \ 127 qxmlutils.obj \ 128 qnumeric.obj 162 129 163 130 … … 176 143 -del qfsfileengine_iterator.obj 177 144 -del qbytearray.obj 178 -del qvsnprintf.obj145 -del qvsnprintf.obj 179 146 -del qbytearraymatcher.obj 180 147 -del qdatetime.obj … … 190 157 -del qhash.obj 191 158 -del qiodevice.obj 192 -del qlist data.obj159 -del qlist.obj 193 160 -del qlocale.obj 194 161 -del qmalloc.obj 195 162 -del qmap.obj 196 163 -del qregexp.obj 164 165 197 166 -del qstring.obj 198 167 -del qstringlist.obj … … 204 173 -del qlibraryinfo.obj 205 174 -del qvariant.obj 206 -del qurl.obj175 -del qurl.obj 207 176 -del qsettings_win.obj 208 -del qmetatype.obj177 -del qmetatype.obj 209 178 -del project.obj 210 179 -del main.obj … … 226 195 -del msvc_vcproj.obj 227 196 -del msvc_objectmodel.obj 197 198 199 200 228 201 -del pbuilder_pbx.obj 229 -del qnumeric.obj \ 230 -del qscriptasm.obj \ 231 -del qscriptast.obj \ 232 -del qscriptastvisitor.obj \ 233 -del qscriptcompiler.obj \ 234 -del qscriptecmaarray.obj \ 235 -del qscriptecmaboolean.obj \ 236 -del qscriptecmacore.obj \ 237 -del qscriptecmadate.obj \ 238 -del qscriptecmafunction.obj \ 239 -del qscriptecmaglobal.obj \ 240 -del qscriptecmamath.obj \ 241 -del qscriptecmanumber.obj \ 242 -del qscriptecmaobject.obj \ 243 -del qscriptecmaregexp.obj \ 244 -del qscriptecmastring.obj \ 245 -del qscriptecmaerror.obj \ 246 -del qscriptcontext_p.obj \ 247 -del qscriptengine.obj \ 248 -del qscriptengine_p.obj \ 249 -del qscriptengineagent.obj \ 250 -del qscriptextenumeration.obj \ 251 -del qscriptextvariant.obj \ 252 -del qscriptcontext.obj \ 253 -del qscriptcontextinfo.obj \ 254 -del qscriptfunction.obj \ 255 -del qscriptgrammar.obj \ 256 -del qscriptlexer.obj \ 257 -del qscriptclassdata.obj \ 258 -del qscriptparser.obj \ 259 -del qscriptprettypretty.obj \ 260 -del qscriptsyntaxchecker.obj \ 261 -del qscriptclass.obj \ 262 -del qscriptclasspropertyiterator.obj \ 263 -del qscriptstring.obj \ 264 -del qscriptvalue.obj \ 265 -del qscriptvalueimpl.obj \ 266 -del qscriptvalueiterator.obj \ 267 -del qscriptvalueiteratorimpl.obj 202 -del qxmlstream.obj 203 -del qxmlutils.obj 204 -del qnumeric.obj 268 205 -del vc60.pdb 269 206 -del vc70.pdb … … 338 275 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qchar.cpp 339 276 277 278 279 340 280 qstring.obj: $(SOURCE_PATH)\src\corelib\tools\qstring.cpp 341 281 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qstring.cpp … … 353 293 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qbuffer.cpp 354 294 355 qlist data.obj: $(SOURCE_PATH)\src\corelib\tools\qlistdata.cpp356 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qlist data.cpp295 qlist.cpp 296 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qlist.cpp 357 297 358 298 qlinkedlist.obj: $(SOURCE_PATH)\src\corelib\tools\qlinkedlist.cpp … … 380 320 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\io\qabstractfileengine.cpp 381 321 382 qtextcodec.obj: $(SOURCE_PATH)\src\co decs\qtextcodec.cpp383 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\co decs\qtextcodec.cpp322 qtextcodec.obj: $(SOURCE_PATH)\src\codecs\qtextcodec.cpp 323 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\codecs\qtextcodec.cpp 384 324 385 325 qregexp.obj: $(SOURCE_PATH)\src\corelib\tools\qregexp.cpp … … 415 355 qunicodetables.obj: $(SOURCE_PATH)\src\corelib\tools\qunicodetables.cpp 416 356 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\tools\qunicodetables.cpp 357 417 358 makefile.obj: $(SOURCE_PATH)/qmake/generators\makefile.cpp 418 359 $(CXX) $(CXXFLAGS) generators\makefile.cpp … … 445 386 $(CXX) $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp 446 387 388 389 390 391 392 393 394 395 396 397 398 399 447 400 md5.obj: $(SOURCE_PATH)\src\3rdparty\md5\md5.cpp 448 401 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\3rdparty\md5\md5.cpp 402 449 403 project.obj: $(SOURCE_PATH)/qmake/project.cpp $(SOURCE_PATH)/qmake/project.h $(SOURCE_PATH)/qmake/option.h 450 404 $(CXX) $(CXXFLAGS) project.cpp … … 477 431 $(CXX) $(CXXFLAGS) generators/xmloutput.cpp 478 432 479 qscriptasm.obj: $(SOURCE_PATH)\src\script\qscriptasm.cpp 480 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptasm.cpp 481 482 qscriptast.obj: $(SOURCE_PATH)\src\script\qscriptast.cpp 483 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptast.cpp 484 485 qscriptastvisitor.obj: $(SOURCE_PATH)\src\script\qscriptastvisitor.cpp 486 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptastvisitor.cpp 487 488 qscriptcompiler.obj: $(SOURCE_PATH)\src\script\qscriptcompiler.cpp 489 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcompiler.cpp 490 491 qscriptecmaarray.obj: $(SOURCE_PATH)\src\script\qscriptecmaarray.cpp 492 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaarray.cpp 493 494 qscriptecmaboolean.obj: $(SOURCE_PATH)\src\script\qscriptecmaboolean.cpp 495 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaboolean.cpp 496 497 qscriptecmacore.obj: $(SOURCE_PATH)\src\script\qscriptecmacore.cpp 498 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmacore.cpp 499 500 qscriptecmadate.obj: $(SOURCE_PATH)\src\script\qscriptecmadate.cpp 501 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmadate.cpp 502 503 qscriptecmafunction.obj: $(SOURCE_PATH)\src\script\qscriptecmafunction.cpp 504 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmafunction.cpp 505 506 qscriptecmaglobal.obj: $(SOURCE_PATH)\src\script\qscriptecmaglobal.cpp 507 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaglobal.cpp 508 509 qscriptecmamath.obj: $(SOURCE_PATH)\src\script\qscriptecmamath.cpp 510 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmamath.cpp 511 512 qscriptecmanumber.obj: $(SOURCE_PATH)\src\script\qscriptecmanumber.cpp 513 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmanumber.cpp 514 515 qscriptecmaobject.obj: $(SOURCE_PATH)\src\script\qscriptecmaobject.cpp 516 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaobject.cpp 517 518 qscriptecmaregexp.obj: $(SOURCE_PATH)\src\script\qscriptecmaregexp.cpp 519 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaregexp.cpp 520 521 qscriptecmastring.obj: $(SOURCE_PATH)\src\script\qscriptecmastring.cpp 522 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmastring.cpp 523 524 qscriptecmaerror.obj: $(SOURCE_PATH)\src\script\qscriptecmaerror.cpp 525 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaerror.cpp 526 527 qscriptcontext_p.obj: $(SOURCE_PATH)\src\script\qscriptcontext_p.cpp 528 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcontext_p.cpp 529 530 qscriptengine.obj: $(SOURCE_PATH)\src\script\qscriptengine.cpp 531 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptengine.cpp 532 533 qscriptengine_p.obj: $(SOURCE_PATH)\src\script\qscriptengine_p.cpp 534 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptengine_p.cpp 535 536 qscriptengineagent.obj: $(SOURCE_PATH)\src\script\qscriptengineagent.cpp 537 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptengineagent.cpp 538 539 qscriptextenumeration.obj: $(SOURCE_PATH)\src\script\qscriptextenumeration.cpp 540 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptextenumeration.cpp 541 542 qscriptextvariant.obj: $(SOURCE_PATH)\src\script\qscriptextvariant.cpp 543 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptextvariant.cpp 544 545 qscriptcontext.obj: $(SOURCE_PATH)\src\script\qscriptcontext.cpp 546 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcontext.cpp 547 548 qscriptcontextinfo.obj: $(SOURCE_PATH)\src\script\qscriptcontextinfo.cpp 549 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcontextinfo.cpp 550 551 qscriptfunction.obj: $(SOURCE_PATH)\src\script\qscriptfunction.cpp 552 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptfunction.cpp 553 554 qscriptgrammar.obj: $(SOURCE_PATH)\src\script\qscriptgrammar.cpp 555 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptgrammar.cpp 556 557 qscriptlexer.obj: $(SOURCE_PATH)\src\script\qscriptlexer.cpp 558 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptlexer.cpp 559 560 qscriptclassdata.obj: $(SOURCE_PATH)\src\script\qscriptclassdata.cpp 561 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptclassdata.cpp 562 563 qscriptparser.obj: $(SOURCE_PATH)\src\script\qscriptparser.cpp 564 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptparser.cpp 565 566 qscriptprettypretty.obj: $(SOURCE_PATH)\src\script\qscriptprettypretty.cpp 567 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptprettypretty.cpp 568 569 qscriptsyntaxchecker.obj: $(SOURCE_PATH)\src\script\qscriptsyntaxchecker.cpp 570 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptsyntaxchecker.cpp 571 572 qscriptstring.obj: $(SOURCE_PATH)\src\script\qscriptstring.cpp 573 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptstring.cpp 574 575 qscriptclass.obj: $(SOURCE_PATH)\src\script\qscriptclass.cpp 576 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptclass.cpp 577 578 qscriptclasspropertyiterator.obj: $(SOURCE_PATH)\src\script\qscriptclasspropertyiterator.cpp 579 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptclasspropertyiterator.cpp 580 581 qscriptvalue.obj: $(SOURCE_PATH)\src\script\qscriptvalue.cpp 582 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptvalue.cpp 583 584 qscriptvalueimpl.obj: $(SOURCE_PATH)\src\script\qscriptvalueimpl.cpp 585 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptvalueimpl.cpp 586 587 qscriptvalueiterator.obj: $(SOURCE_PATH)\src\script\qscriptvalueiterator.cpp 588 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptvalueiterator.cpp 589 590 qscriptvalueiteratorimpl.obj: $(SOURCE_PATH)\src\script\qscriptvalueiteratorimpl.cpp 591 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptvalueiteratorimpl.cpp 433 qxmlstream.obj: $(SOURCE_PATH)\src\corelib\xml\qxmlstream.cpp 434 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\xml\qxmlstream.cpp 435 436 qxmlutils.obj: $(SOURCE_PATH)\src\corelib\xml\qxmlutils.cpp 437 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\corelib\xml\qxmlutils.cpp -
branches/vendor/nokia/qt/current/qmake/Makefile.win32-g++
r2 r556 16 16 -I. -Igenerators -Igenerators/unix \ 17 17 -Igenerators/win32 -Igenerators/mac \ 18 18 19 -I$(BUILD_PATH)/include -I$(BUILD_PATH)/include/QtCore \ 19 20 -I$(SOURCE_PATH)/include -I$(SOURCE_PATH)/include/QtCore \ 20 21 -I$(BUILD_PATH)/src/corelib/global \ 21 -I$(BUILD_PATH)/include/QtScript\22 \ 22 23 -I$(SOURCE_PATH)/mkspecs/win32-g++ \ 23 24 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE \ 24 -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP \ 25 -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM 25 -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP \ 26 -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM \ 27 -DQT_BOOTSTRAPPED 26 28 CXXFLAGS = $(CFLAGS) 27 29 LFLAGS = … … 36 38 makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o \ 37 39 borland_bmake.o msvc_nmake.o msvc_dsp.o msvc_vcproj.o \ 38 msvc_objectmodel.o 40 msvc_objectmodel.o symmake.o initprojectdeploy_symbian.o \ 41 symmake_abld.o symmake_sbsv2.o 39 42 40 43 ifdef QMAKE_OPENSOURCE_EDITION … … 47 50 qbuffer.o \ 48 51 qbytearray.o \ 49 qcryptographichash.o \52 qcryptographichash.o \ 50 53 qvsnprintf.o \ 51 54 qbytearraymatcher.o \ … … 66 69 qiodevice.o \ 67 70 qlibraryinfo.o \ 68 qlist data.o \71 qlist.o \ 69 72 qlinkedlist.o \ 70 73 qlocale.o \ … … 72 75 qmap.o \ 73 76 qregexp.o \ 77 78 74 79 qstring.o \ 75 80 qstringlist.o \ … … 82 87 qvariant.o \ 83 88 qmetatype.o \ 84 qnumeric.o \ 85 qscriptasm.o \ 86 qscriptast.o \ 87 qscriptastvisitor.o \ 88 qscriptcompiler.o \ 89 qscriptecmaarray.o \ 90 qscriptecmaboolean.o \ 91 qscriptecmacore.o \ 92 qscriptecmadate.o \ 93 qscriptecmafunction.o \ 94 qscriptecmaglobal.o \ 95 qscriptecmamath.o \ 96 qscriptecmanumber.o \ 97 qscriptecmaobject.o \ 98 qscriptecmaregexp.o \ 99 qscriptecmastring.o \ 100 qscriptecmaerror.o \ 101 qscriptcontext_p.o \ 102 qscriptengine.o \ 103 qscriptengine_p.o \ 104 qscriptengineagent.o \ 105 qscriptextenumeration.o \ 106 qscriptextvariant.o \ 107 qscriptcontext.o \ 108 qscriptcontextinfo.o \ 109 qscriptfunction.o \ 110 qscriptgrammar.o \ 111 qscriptlexer.o \ 112 qscriptclassdata.o \ 113 qscriptparser.o \ 114 qscriptprettypretty.o \ 115 qscriptsyntaxchecker.o \ 116 qscriptclass.o \ 117 qscriptclasspropertyiterator.o \ 118 qscriptstring.o \ 119 qscriptvalue.o \ 120 qscriptvalueimpl.o \ 121 qscriptvalueiterator.o \ 122 qscriptvalueiteratorimpl.o 89 qxmlstream.o \ 90 qxmlutils.o \ 91 qnumeric.o 123 92 124 93 … … 193 162 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qbytearraymatcher.cpp 194 163 164 165 166 195 167 qstring.o: $(SOURCE_PATH)/src/corelib/tools/qstring.cpp 196 168 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qstring.cpp … … 205 177 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/io/qbuffer.cpp 206 178 207 qlist data.o: $(SOURCE_PATH)/src/corelib/tools/qlistdata.cpp208 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qlist data.cpp179 qlist.cpp 180 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qlist.cpp 209 181 210 182 qlinkedlist.o: $(SOURCE_PATH)/src/corelib/tools/qlinkedlist.cpp … … 232 204 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/io/qfsfileengine_iterator.cpp 233 205 234 qtextcodec.o: $(SOURCE_PATH)/src/co decs/qtextcodec.cpp235 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/co decs/qtextcodec.cpp206 qtextcodec.o: $(SOURCE_PATH)/src/codecs/qtextcodec.cpp 207 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/codecs/qtextcodec.cpp 236 208 237 209 qregexp.o: $(SOURCE_PATH)/src/corelib/tools/qregexp.cpp … … 295 267 $(CXX) $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp 296 268 269 270 271 272 273 274 275 276 277 278 279 280 297 281 project.o: $(SOURCE_PATH)/qmake/project.cpp $(SOURCE_PATH)/qmake/project.h $(SOURCE_PATH)/qmake/option.h 298 282 $(CXX) $(CXXFLAGS) project.cpp … … 325 309 $(CXX) $(CXXFLAGS) generators/xmloutput.cpp 326 310 327 qscriptasm.o: $(SOURCE_PATH)\src\script\qscriptasm.cpp 328 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptasm.cpp 329 330 qscriptast.o: $(SOURCE_PATH)\src\script\qscriptast.cpp 331 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptast.cpp 332 333 qscriptastvisitor.o: $(SOURCE_PATH)\src\script\qscriptastvisitor.cpp 334 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptastvisitor.cpp 335 336 qscriptcompiler.o: $(SOURCE_PATH)\src\script\qscriptcompiler.cpp 337 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcompiler.cpp 338 339 qscriptecmaarray.o: $(SOURCE_PATH)\src\script\qscriptecmaarray.cpp 340 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaarray.cpp 341 342 qscriptecmaboolean.o: $(SOURCE_PATH)/src/script/qscriptecmaboolean.cpp 343 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaboolean.cpp 344 345 qscriptecmacore.o: $(SOURCE_PATH)/src/script/qscriptecmacore.cpp 346 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmacore.cpp 347 348 qscriptecmadate.o: $(SOURCE_PATH)/src/script/qscriptecmadate.cpp 349 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmadate.cpp 350 351 qscriptecmafunction.o: $(SOURCE_PATH)/src/script/qscriptecmafunction.cpp 352 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmafunction.cpp 353 354 qscriptecmaglobal.o: $(SOURCE_PATH)/src/script/qscriptecmaglobal.cpp 355 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaglobal.cpp 356 357 qscriptecmamath.o: $(SOURCE_PATH)/src/script/qscriptecmamath.cpp 358 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmamath.cpp 359 360 qscriptecmanumber.o: $(SOURCE_PATH)/src/script/qscriptecmanumber.cpp 361 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmanumber.cpp 362 363 qscriptecmaobject.o: $(SOURCE_PATH)/src/script/qscriptecmaobject.cpp 364 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaobject.cpp 365 366 qscriptecmaregexp.o: $(SOURCE_PATH)/src/script/qscriptecmaregexp.cpp 367 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaregexp.cpp 368 369 qscriptecmastring.o: $(SOURCE_PATH)/src/script/qscriptecmastring.cpp 370 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmastring.cpp 371 372 qscriptecmaerror.o: $(SOURCE_PATH)/src/script/qscriptecmaerror.cpp 373 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaerror.cpp 374 375 qscriptcontext_p.o: $(SOURCE_PATH)/src/script/qscriptcontext_p.cpp 376 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcontext_p.cpp 377 378 qscriptengine.o: $(SOURCE_PATH)/src/script/qscriptengine.cpp 379 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptengine.cpp 380 381 qscriptengine_p.o: $(SOURCE_PATH)/src/script/qscriptengine_p.cpp 382 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptengine_p.cpp 383 384 qscriptengineagent.o: $(SOURCE_PATH)/src/script/qscriptengineagent.cpp 385 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptengineagent.cpp 386 387 qscriptextenumeration.o: $(SOURCE_PATH)/src/script/qscriptextenumeration.cpp 388 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptextenumeration.cpp 389 390 qscriptextvariant.o: $(SOURCE_PATH)/src/script/qscriptextvariant.cpp 391 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptextvariant.cpp 392 393 qscriptcontext.o: $(SOURCE_PATH)/src/script/qscriptcontext.cpp 394 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcontext.cpp 395 396 qscriptcontextinfo.o: $(SOURCE_PATH)/src/script/qscriptcontextinfo.cpp 397 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcontextinfo.cpp 398 399 qscriptfunction.o: $(SOURCE_PATH)/src/script/qscriptfunction.cpp 400 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptfunction.cpp 401 402 qscriptgrammar.o: $(SOURCE_PATH)/src/script/qscriptgrammar.cpp 403 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptgrammar.cpp 404 405 qscriptlexer.o: $(SOURCE_PATH)/src/script/qscriptlexer.cpp 406 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptlexer.cpp 407 408 qscriptclassdata.o: $(SOURCE_PATH)/src/script/qscriptclassdata.cpp 409 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptclassdata.cpp 410 411 qscriptparser.o: $(SOURCE_PATH)/src/script/qscriptparser.cpp 412 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptparser.cpp 413 414 qscriptprettypretty.o: $(SOURCE_PATH)/src/script/qscriptprettypretty.cpp 415 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptprettypretty.cpp 416 417 qscriptsyntaxchecker.o: $(SOURCE_PATH)/src/script/qscriptsyntaxchecker.cpp 418 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptsyntaxchecker.cpp 419 420 qscriptclass.o: $(SOURCE_PATH)/src/script/qscriptclass.cpp 421 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptclass.cpp 422 423 qscriptclasspropertyiterator.o: $(SOURCE_PATH)/src/script/qscriptclasspropertyiterator.cpp 424 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptclasspropertyiterator.cpp 425 426 qscriptstring.o: $(SOURCE_PATH)/src/script/qscriptstring.cpp 427 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptstring.cpp 428 429 qscriptvalue.o: $(SOURCE_PATH)/src/script/qscriptvalue.cpp 430 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalue.cpp 431 432 qscriptvalueimpl.o: $(SOURCE_PATH)/src/script/qscriptvalueimpl.cpp 433 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalueimpl.cpp 434 435 qscriptvalueiterator.o: $(SOURCE_PATH)/src/script/qscriptvalueiterator.cpp 436 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalueiterator.cpp 437 438 qscriptvalueiteratorimpl.o: $(SOURCE_PATH)/src/script/qscriptvalueiteratorimpl.cpp 439 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalueiteratorimpl.cpp 311 qxmlstream.o: $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp 312 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp 313 314 qxmlutils.o: $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp 315 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp -
branches/vendor/nokia/qt/current/qmake/Makefile.win32-g++-sh
r2 r556 16 16 -I. -Igenerators -Igenerators/unix \ 17 17 -Igenerators/win32 -Igenerators/mac \ 18 18 19 -I$(BUILD_PATH)/include -I$(BUILD_PATH)/include/QtCore \ 19 20 -I$(SOURCE_PATH)/include -I$(SOURCE_PATH)/include/QtCore \ 20 21 -I$(BUILD_PATH)/src/corelib/global \ 21 -I$(BUILD_PATH)/include/QtScript\22 \ 22 23 -I$(SOURCE_PATH)/mkspecs/win32-g++ \ 23 24 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE \ 24 -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP \ 25 -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM 25 -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP \ 26 -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM \ 27 -DQT_BOOTSTRAPPED 26 28 CXXFLAGS = $(CFLAGS) 27 29 LFLAGS = … … 36 38 makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o \ 37 39 borland_bmake.o msvc_nmake.o msvc_dsp.o msvc_vcproj.o \ 38 msvc_objectmodel.o 40 msvc_objectmodel.o symmake.o initprojectdeploy_symbian.o \ 41 symmake_abld.o symmake_sbsv2.o 39 42 40 43 ifdef QMAKE_OPENSOURCE_EDITION … … 66 69 qiodevice.o \ 67 70 qlibraryinfo.o \ 68 qlist data.o \71 qlist.o \ 69 72 qlinkedlist.o \ 70 73 qlocale.o \ … … 72 75 qmap.o \ 73 76 qregexp.o \ 77 78 74 79 qstring.o \ 75 80 qstringlist.o \ … … 82 87 qvariant.o \ 83 88 qmetatype.o \ 84 qnumeric.o \ 85 qscriptasm.o \ 86 qscriptast.o \ 87 qscriptastvisitor.o \ 88 qscriptcompiler.o \ 89 qscriptecmaarray.o \ 90 qscriptecmaboolean.o \ 91 qscriptecmacore.o \ 92 qscriptecmadate.o \ 93 qscriptecmafunction.o \ 94 qscriptecmaglobal.o \ 95 qscriptecmamath.o \ 96 qscriptecmanumber.o \ 97 qscriptecmaobject.o \ 98 qscriptecmaregexp.o \ 99 qscriptecmastring.o \ 100 qscriptecmaerror.o \ 101 qscriptcontext_p.o \ 102 qscriptengine.o \ 103 qscriptengine_p.o \ 104 qscriptengineagent.o \ 105 qscriptextenumeration.o \ 106 qscriptextvariant.o \ 107 qscriptcontext.o \ 108 qscriptcontextinfo.o \ 109 qscriptfunction.o \ 110 qscriptgrammar.o \ 111 qscriptlexer.o \ 112 qscriptclassdata.o \ 113 qscriptparser.o \ 114 qscriptprettypretty.o \ 115 qscriptsyntaxchecker.o \ 116 qscriptclass.o \ 117 qscriptclasspropertyiterator.o \ 118 qscriptstring.o \ 119 qscriptvalue.o \ 120 qscriptvalueimpl.o \ 121 qscriptvalueiterator.o \ 122 qscriptvalueiteratorimpl.o 89 qxmlstream.o \ 90 qxmlutils.o \ 91 qnumeric.o 123 92 124 93 qmake.exe: $(OBJS) $(QTOBJS) … … 192 161 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qbytearraymatcher.cpp 193 162 163 164 165 194 166 qstring.o: $(SOURCE_PATH)/src/corelib/tools/qstring.cpp 195 167 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qstring.cpp … … 204 176 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/io/qbuffer.cpp 205 177 206 qlist data.o: $(SOURCE_PATH)/src/corelib/tools/qlistdata.cpp207 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qlist data.cpp178 qlist.cpp 179 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/tools/qlist.cpp 208 180 209 181 qlinkedlist.o: $(SOURCE_PATH)/src/corelib/tools/qlinkedlist.cpp … … 231 203 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/io/qfsfileengine_iterator.cpp 232 204 233 qtextcodec.o: $(SOURCE_PATH)/src/co decs/qtextcodec.cpp234 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/co decs/qtextcodec.cpp205 qtextcodec.o: $(SOURCE_PATH)/src/codecs/qtextcodec.cpp 206 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/codecs/qtextcodec.cpp 235 207 236 208 qregexp.o: $(SOURCE_PATH)/src/corelib/tools/qregexp.cpp … … 294 266 $(CXX) $(CXXFLAGS) generators/win32/msvc_objectmodel.cpp 295 267 268 269 270 271 272 273 274 275 276 277 278 279 296 280 project.o: $(SOURCE_PATH)/qmake/project.cpp $(SOURCE_PATH)/qmake/project.h $(SOURCE_PATH)/qmake/option.h 297 281 $(CXX) $(CXXFLAGS) project.cpp … … 324 308 $(CXX) $(CXXFLAGS) generators/xmloutput.cpp 325 309 326 qscriptasm.o: $(SOURCE_PATH)\src\script\qscriptasm.cpp 327 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptasm.cpp 328 329 qscriptast.o: $(SOURCE_PATH)\src\script\qscriptast.cpp 330 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptast.cpp 331 332 qscriptastvisitor.o: $(SOURCE_PATH)\src\script\qscriptastvisitor.cpp 333 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptastvisitor.cpp 334 335 qscriptcompiler.o: $(SOURCE_PATH)\src\script\qscriptcompiler.cpp 336 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptcompiler.cpp 337 338 qscriptecmaarray.o: $(SOURCE_PATH)\src\script\qscriptecmaarray.cpp 339 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)\src\script\qscriptecmaarray.cpp 340 341 qscriptecmaboolean.o: $(SOURCE_PATH)/src/script/qscriptecmaboolean.cpp 342 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaboolean.cpp 343 344 qscriptecmacore.o: $(SOURCE_PATH)/src/script/qscriptecmacore.cpp 345 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmacore.cpp 346 347 qscriptecmadate.o: $(SOURCE_PATH)/src/script/qscriptecmadate.cpp 348 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmadate.cpp 349 350 qscriptecmafunction.o: $(SOURCE_PATH)/src/script/qscriptecmafunction.cpp 351 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmafunction.cpp 352 353 qscriptecmaglobal.o: $(SOURCE_PATH)/src/script/qscriptecmaglobal.cpp 354 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaglobal.cpp 355 356 qscriptecmamath.o: $(SOURCE_PATH)/src/script/qscriptecmamath.cpp 357 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmamath.cpp 358 359 qscriptecmanumber.o: $(SOURCE_PATH)/src/script/qscriptecmanumber.cpp 360 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmanumber.cpp 361 362 qscriptecmaobject.o: $(SOURCE_PATH)/src/script/qscriptecmaobject.cpp 363 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaobject.cpp 364 365 qscriptecmaregexp.o: $(SOURCE_PATH)/src/script/qscriptecmaregexp.cpp 366 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaregexp.cpp 367 368 qscriptecmastring.o: $(SOURCE_PATH)/src/script/qscriptecmastring.cpp 369 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmastring.cpp 370 371 qscriptecmaerror.o: $(SOURCE_PATH)/src/script/qscriptecmaerror.cpp 372 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptecmaerror.cpp 373 374 qscriptcontext_p.o: $(SOURCE_PATH)/src/script/qscriptcontext_p.cpp 375 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcontext_p.cpp 376 377 qscriptengine.o: $(SOURCE_PATH)/src/script/qscriptengine.cpp 378 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptengine.cpp 379 380 qscriptengine_p.o: $(SOURCE_PATH)/src/script/qscriptengine_p.cpp 381 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptengine_p.cpp 382 383 qscriptengineagent.o: $(SOURCE_PATH)/src/script/qscriptengineagent.cpp 384 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptengineagent.cpp 385 386 qscriptextenumeration.o: $(SOURCE_PATH)/src/script/qscriptextenumeration.cpp 387 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptextenumeration.cpp 388 389 qscriptextvariant.o: $(SOURCE_PATH)/src/script/qscriptextvariant.cpp 390 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptextvariant.cpp 391 392 qscriptcontext.o: $(SOURCE_PATH)/src/script/qscriptcontext.cpp 393 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcontext.cpp 394 395 qscriptcontextinfo.o: $(SOURCE_PATH)/src/script/qscriptcontextinfo.cpp 396 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptcontextinfo.cpp 397 398 qscriptfunction.o: $(SOURCE_PATH)/src/script/qscriptfunction.cpp 399 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptfunction.cpp 400 401 qscriptgrammar.o: $(SOURCE_PATH)/src/script/qscriptgrammar.cpp 402 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptgrammar.cpp 403 404 qscriptlexer.o: $(SOURCE_PATH)/src/script/qscriptlexer.cpp 405 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptlexer.cpp 406 407 qscriptclassdata.o: $(SOURCE_PATH)/src/script/qscriptclassdata.cpp 408 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptclassdata.cpp 409 410 qscriptparser.o: $(SOURCE_PATH)/src/script/qscriptparser.cpp 411 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptparser.cpp 412 413 qscriptprettypretty.o: $(SOURCE_PATH)/src/script/qscriptprettypretty.cpp 414 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptprettypretty.cpp 415 416 qscriptsyntaxchecker.o: $(SOURCE_PATH)/src/script/qscriptsyntaxchecker.cpp 417 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptsyntaxchecker.cpp 418 419 qscriptclass.o: $(SOURCE_PATH)/src/script/qscriptclass.cpp 420 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptclass.cpp 421 422 qscriptclasspropertyiterator.o: $(SOURCE_PATH)/src/script/qscriptclasspropertyiterator.cpp 423 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptclasspropertyiterator.cpp 424 425 qscriptstring.o: $(SOURCE_PATH)/src/script/qscriptstring.cpp 426 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptstring.cpp 427 428 qscriptvalue.o: $(SOURCE_PATH)/src/script/qscriptvalue.cpp 429 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalue.cpp 430 431 qscriptvalueimpl.o: $(SOURCE_PATH)/src/script/qscriptvalueimpl.cpp 432 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalueimpl.cpp 433 434 qscriptvalueiterator.o: $(SOURCE_PATH)/src/script/qscriptvalueiterator.cpp 435 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalueiterator.cpp 436 437 qscriptvalueiteratorimpl.o: $(SOURCE_PATH)/src/script/qscriptvalueiteratorimpl.cpp 438 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/script/qscriptvalueiteratorimpl.cpp 310 qxmlstream.o: $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp 311 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlstream.cpp 312 313 qxmlutils.o: $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp 314 $(CXX) $(CXXFLAGS) $(SOURCE_PATH)/src/corelib/xml/qxmlutils.cpp -
branches/vendor/nokia/qt/current/qmake/cachekeys.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/mac/pbuilder_pbx.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 157 157 if(!profile.endsWith(Option::dir_sep)) 158 158 profile += Option::dir_sep; 159 profile += fi.baseName() + ".pro";159 profile += fi.baseName() + ; 160 160 fi = QFileInfo(profile); 161 161 } -
branches/vendor/nokia/qt/current/qmake/generators/mac/pbuilder_pbx.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/makefile.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 122 122 if(path.startsWith(QDir::separator())) { 123 123 d.cd(QString(QDir::separator())); 124 path = path.right(path.length() -1);124 path 1); 125 125 } 126 126 bool ret = true; … … 130 130 if(QFile::exists(path.left(3))) { 131 131 d.cd(path.left(3)); 132 path = path.right(path.length() -3);132 path 3); 133 133 } else { 134 134 warn_msg(WarnLogic, "Cannot access drive '%s' (%s)", … … 202 202 v.contains("QMAKE_ABSOLUTE_SOURCE_ROOT")) { 203 203 QString root = v["QMAKE_ABSOLUTE_SOURCE_ROOT"].first(); 204 root = Option::fixPathToTargetOS(root);204 root = (root); 205 205 if(!root.isEmpty()) { 206 206 QFileInfo fi = fileInfo(Option::mkfile::cachefile); … … 208 208 QString cache_r = fi.path(), pwd = Option::output_dir; 209 209 if(pwd.startsWith(cache_r) && !pwd.startsWith(root)) { 210 pwd = Option::fixPathToTargetOS(root + pwd.mid(cache_r.length()));210 pwd = )); 211 211 if(exists(pwd)) 212 212 v.insert("QMAKE_ABSOLUTE_SOURCE_PATH", QStringList(pwd)); … … 218 218 if(!v["QMAKE_ABSOLUTE_SOURCE_PATH"].isEmpty()) { 219 219 QString &asp = v["QMAKE_ABSOLUTE_SOURCE_PATH"].first(); 220 asp = Option::fixPathToTargetOS(asp);220 asp = (asp); 221 221 if(asp.isEmpty() || asp == Option::output_dir) //if they're the same, why bother? 222 222 v["QMAKE_ABSOLUTE_SOURCE_PATH"].clear(); … … 244 244 #endif 245 245 { 246 if( pathRef.right(Option::dir_sep.length()) != Option::dir_sep)246 if() 247 247 pathRef += Option::dir_sep; 248 248 } … … 276 276 if(slash != -1) { 277 277 path = path.left(slash); 278 if(path != "." && 279 !mkdir(fileFixify(path, qmake_getpwd(), Option::output_dir))) 280 warn_msg(WarnLogic, "%s: Cannot access directory '%s'", 281 (*it).toLatin1().constData(), path.toLatin1().constData()); 278 // Make out path only if it does not contain makefile variables 279 if(!path.contains("${")) 280 if(path != "." && 281 !mkdir(fileFixify(path, qmake_getpwd(), Option::output_dir))) 282 warn_msg(WarnLogic, "%s: Cannot access directory '%s'", 283 (*it).toLatin1().constData(), path.toLatin1().constData()); 282 284 } 283 285 } … … 290 292 v.remove("DESTDIR"); 291 293 } 292 QDir::current().cd(currentDir);293 294 } 294 295 … … 346 347 if(exists(real_dir + QDir::separator() + val)) { 347 348 QString dir = (*vpath_it); 348 if( dir.right(Option::dir_sep.length()) != Option::dir_sep)349 if() 349 350 dir += Option::dir_sep; 350 351 val = dir + val; … … 365 366 if(!(flags & VPATH_NoFixify)) 366 367 real_dir = fileFixify(real_dir, qmake_getpwd(), Option::output_dir); 367 regex = regex.right(regex.length() -dir.length());368 regex dir.length()); 368 369 } 369 370 if(real_dir.isEmpty() || exists(real_dir)) { … … 725 726 QString cache_file; 726 727 if(!project->isEmpty("QMAKE_INTERNAL_CACHE_FILE")) { 727 cache_file = Option::fixPathToLocalOS(project->first("QMAKE_INTERNAL_CACHE_FILE"));728 cache_file = (project->first("QMAKE_INTERNAL_CACHE_FILE")); 728 729 } else { 729 730 cache_file = ".qmake.internal.cache"; … … 731 732 cache_file += ".BUILD." + project->first("BUILD_PASS"); 732 733 } 733 if(cache_file.indexOf( QDir::separator()) == -1)734 cache_file.prepend(Option::output_dir + QDir::separator());734 if(cache_file.indexOf() == -1) 735 cache_file.prepend(Option::output_dir + ); 735 736 QMakeSourceFileInfo::setCacheFile(cache_file); 736 737 } … … 789 790 if(regex.lastIndexOf(Option::dir_sep) != -1) { 790 791 dir = regex.left(regex.lastIndexOf(Option::dir_sep) + 1); 791 regex = regex.right(regex.length() -dir.length());792 regex dir.length()); 792 793 } 793 794 QStringList files = QDir(dir).entryList(QStringList(regex)); … … 939 940 int slsh = target.lastIndexOf(Option::dir_sep); 940 941 if(slsh != -1) 941 target = target.right(target.length() - slsh -1);942 target 1); 942 943 QString bdir = Option::output_dir; 943 944 if(bdir.isEmpty()) … … 969 970 else 970 971 libs << "QMAKE_LIBS"; //obvious one 972 973 971 974 t << "QMAKE_PRL_LIBS = "; 972 975 for(QStringList::Iterator it = libs.begin(); it != libs.end(); ++it) … … 1057 1060 int slsh = ret.lastIndexOf(Option::dir_sep); 1058 1061 if(slsh != -1) 1059 ret = ret.right(ret.length() -slsh);1062 ret slsh); 1060 1063 if(!ret.endsWith(Option::prl_ext)) { 1061 1064 int dot = ret.indexOf('.'); 1062 1065 if(dot != -1) 1063 ret = ret.left(dot);1066 ret(dot); 1064 1067 ret += Option::prl_ext; 1065 1068 } … … 1211 1214 project->values((*it) + ".CONFIG").indexOf("dummy_install") == -1) { 1212 1215 dst = fileFixify(unescapeFilePath(project->values(pvar).first()), FileFixifyAbsolute, false); 1213 if( dst.right(1) != Option::dir_sep)1216 if() 1214 1217 dst += Option::dir_sep; 1215 1218 } … … 1240 1243 if(slsh != -1) { 1241 1244 dirstr = filestr.left(slsh+1); 1242 filestr = filestr.right(filestr.length() - slsh -1);1243 } 1244 if( dirstr.right(Option::dir_sep.length()) != Option::dir_sep)1245 filestr1); 1246 } 1247 if() 1245 1248 dirstr += Option::dir_sep; 1246 1249 if(exists(wild)) { //real file … … 1342 1345 for(QStringList::ConstIterator pit = dirs.begin(); pit != dirs.end(); ++pit) { 1343 1346 QString tmp_dst = fileFixify((*pit), FileFixifyAbsolute, false); 1344 if (!isWindowsShell() && tmp_dst.right(1) != Option::dir_sep)1347 if (!isWindowsShell() && ) 1345 1348 tmp_dst += Option::dir_sep; 1346 1349 t << mkdir_p_asstring(filePrefixRoot(root, tmp_dst)) << "\n\t"; … … 1493 1496 } 1494 1497 if(val.isEmpty() && var.startsWith(QLatin1String("QMAKE_VAR_FIRST_"))) { 1495 const QString varname = var.mid(1 2);1498 const QString varname = var.mid(1); 1496 1499 val += project->first(varname); 1497 1500 } … … 1581 1584 if(!file.isNull()) { 1582 1585 QMakeSourceFileInfo::addSourceFile(file, QMakeSourceFileInfo::SEEK_MOCS); 1583 if(!mocable(file)) 1586 if(!mocable(file)) 1584 1587 return false; 1588 1589 1590 1585 1591 } 1586 1592 } else if(project->values(comp + ".CONFIG").indexOf("function_verify") != -1) { … … 1699 1705 t << "\n\t" << cmd; 1700 1706 t << endl << endl; 1707 1708 1709 1710 1701 1711 } 1702 1712 } … … 1786 1796 if(tmp_clean.indexOf("${QMAKE_") == -1) { 1787 1797 t << "\n\t" << "-$(DEL_FILE) " << tmp_clean; 1798 1799 1788 1800 wrote_clean = true; 1789 1801 } … … 1814 1826 } 1815 1827 if(!cleans.isEmpty()) 1816 t << valGlue(cleans, "\n\t" + del_statement, "\n\t" + del_statement, ""); 1828 if (isForSymbian()) 1829 t << valGlue(cleans, "\n\t" + del_statement, " 2> NUL\n\t" + del_statement, " 2> NUL"); 1830 else 1831 t << valGlue(cleans, "\n\t" + del_statement, "\n\t" + del_statement, ""); 1817 1832 if(!wrote_clean_cmds) { 1818 1833 for(QStringList::ConstIterator input = tmp_inputs.begin(); input != tmp_inputs.end(); ++input) { … … 1889 1904 continue; 1890 1905 1891 QString cmd = replaceExtraCompilerVariables(tmp_cmd, escapeFilePaths(inputs), QStringList(tmp_out)); 1906 QString cmd; 1907 if (isForSymbianSbsv2()) { 1908 // In sbsv2 the command inputs and outputs need to use absolute paths 1909 cmd = replaceExtraCompilerVariables(tmp_cmd, 1910 fileFixify(escapeFilePaths(inputs), FileFixifyAbsolute), 1911 fileFixify(QStringList(tmp_out), FileFixifyAbsolute)); 1912 } else { 1913 cmd = replaceExtraCompilerVariables(tmp_cmd, escapeFilePaths(inputs), QStringList(tmp_out)); 1914 } 1915 1892 1916 t << escapeDependencyPath(tmp_out) << ":"; 1917 1893 1918 // compiler.CONFIG+=explicit_dependencies means that ONLY compiler.depends gets to cause Makefile dependencies 1894 1919 if(project->values((*it) + ".CONFIG").indexOf("explicit_dependencies") != -1) { 1895 1920 t << " " << valList(escapeDependencyPaths(fileFixify(tmp_dep, Option::output_dir, Option::output_dir))); 1921 1896 1922 } else { 1897 1923 t << " " << valList(escapeDependencyPaths(inputs)) << " " << valList(escapeDependencyPaths(deps)); 1924 1898 1925 } 1899 1926 t << "\n\t" << cmd << endl << endl; 1927 1900 1928 continue; 1901 1929 } … … 1911 1939 } 1912 1940 QString cmd = replaceExtraCompilerVariables(tmp_cmd, (*input), out); 1941 1942 1943 1944 1945 1946 1947 1948 1949 1913 1950 for(QStringList::ConstIterator it3 = vars.constBegin(); it3 != vars.constEnd(); ++it3) 1914 1951 cmd.replace("$(" + (*it3) + ")", "$(QMAKE_COMP_" + (*it3)+")"); … … 2000 2037 t << escapeDependencyPath(out) << ": " << valList(escapeDependencyPaths(deps)) << "\n\t" 2001 2038 << cmd << endl << endl; 2039 2040 2041 2002 2042 } 2003 2043 } … … 2113 2153 else if(Option::target_mode == Option::TARG_WIN_MODE) 2114 2154 ret += " -win32"; 2115 else if(Option::target_mode == Option::TARG_QNX6_MODE)2116 ret += " -qnx6";2117 2155 2118 2156 //configs … … 2173 2211 } 2174 2212 2175 void 2176 MakefileGenerator:: writeSubDirs(QTextStream &t)2213 QList<MakefileGenerator::SubTarget*> 2214 MakefileGenerator:: 2177 2215 { 2178 2216 QList<SubTarget*> targets; … … 2216 2254 st->in_directory = file; 2217 2255 } 2218 while(st->in_directory. right(1) == Option::dir_sep)2219 st->in_directory = st->in_directory.left(st->in_directory.length() -1);2256 while(st->in_directory.) 2257 st->in_directory1); 2220 2258 if(fileInfo(st->in_directory).isRelative()) 2221 2259 st->out_directory = st->in_directory; … … 2271 2309 } 2272 2310 } 2311 2312 2313 2314 2315 2316 2317 2273 2318 t << "first: make_default" << endl; 2274 2319 int flags = SubTargetInstalls; … … 2287 2332 t << "include " << (*qeui_it) << endl; 2288 2333 2289 QString ofile = Option::fixPathToTargetOS(Option::output.fileName()); 2290 if(ofile.lastIndexOf(Option::dir_sep) != -1) 2291 ofile = ofile.right(ofile.length() - ofile.lastIndexOf(Option::dir_sep) -1); 2292 t << "MAKEFILE = " << ofile << endl; 2293 /* Calling Option::fixPathToTargetOS() is necessary for MinGW/MSYS, which requires 2294 * back-slashes to be turned into slashes. */ 2295 t << "QMAKE = " << Option::fixPathToTargetOS(var("QMAKE_QMAKE")) << endl; 2296 t << "DEL_FILE = " << var("QMAKE_DEL_FILE") << endl; 2297 t << "CHK_DIR_EXISTS= " << var("QMAKE_CHK_DIR_EXISTS") << endl; 2298 t << "MKDIR = " << var("QMAKE_MKDIR") << endl; 2299 t << "COPY = " << var("QMAKE_COPY") << endl; 2300 t << "COPY_FILE = " << var("QMAKE_COPY_FILE") << endl; 2301 t << "COPY_DIR = " << var("QMAKE_COPY_DIR") << endl; 2302 t << "INSTALL_FILE = " << var("QMAKE_INSTALL_FILE") << endl; 2303 t << "INSTALL_PROGRAM = " << var("QMAKE_INSTALL_PROGRAM") << endl; 2304 t << "INSTALL_DIR = " << var("QMAKE_INSTALL_DIR") << endl; 2305 t << "DEL_FILE = " << var("QMAKE_DEL_FILE") << endl; 2306 t << "SYMLINK = " << var("QMAKE_SYMBOLIC_LINK") << endl; 2307 t << "DEL_DIR = " << var("QMAKE_DEL_DIR") << endl; 2308 t << "MOVE = " << var("QMAKE_MOVE") << endl; 2309 t << "CHK_DIR_EXISTS= " << var("QMAKE_CHK_DIR_EXISTS") << endl; 2310 t << "MKDIR = " << var("QMAKE_MKDIR") << endl; 2334 if (!(flags & SubTargetSkipDefaultVariables)) { 2335 QString ofile = Option::fixPathToTargetOS(Option::output.fileName()); 2336 if(ofile.lastIndexOf(Option::dir_sep) != -1) 2337 ofile.remove(0, ofile.lastIndexOf(Option::dir_sep) +1); 2338 t << "MAKEFILE = " << ofile << endl; 2339 /* Calling Option::fixPathToTargetOS() is necessary for MinGW/MSYS, which requires 2340 * back-slashes to be turned into slashes. */ 2341 t << "QMAKE = " << Option::fixPathToTargetOS(var("QMAKE_QMAKE")) << endl; 2342 t << "DEL_FILE = " << var("QMAKE_DEL_FILE") << endl; 2343 t << "CHK_DIR_EXISTS= " << var("QMAKE_CHK_DIR_EXISTS") << endl; 2344 t << "MKDIR = " << var("QMAKE_MKDIR") << endl; 2345 t << "COPY = " << var("QMAKE_COPY") << endl; 2346 t << "COPY_FILE = " << var("QMAKE_COPY_FILE") << endl; 2347 t << "COPY_DIR = " << var("QMAKE_COPY_DIR") << endl; 2348 t << "INSTALL_FILE = " << var("QMAKE_INSTALL_FILE") << endl; 2349 t << "INSTALL_PROGRAM = " << var("QMAKE_INSTALL_PROGRAM") << endl; 2350 t << "INSTALL_DIR = " << var("QMAKE_INSTALL_DIR") << endl; 2351 t << "DEL_FILE = " << var("QMAKE_DEL_FILE") << endl; 2352 t << "SYMLINK = " << var("QMAKE_SYMBOLIC_LINK") << endl; 2353 t << "DEL_DIR = " << var("QMAKE_DEL_DIR") << endl; 2354 t << "MOVE = " << var("QMAKE_MOVE") << endl; 2355 t << "CHK_DIR_EXISTS= " << var("QMAKE_CHK_DIR_EXISTS") << endl; 2356 t << "MKDIR = " << var("QMAKE_MKDIR") << endl; 2357 t << "SUBTARGETS = "; // subtargets are sub-directory 2358 for(int target = 0; target < targets.size(); ++target) 2359 t << " \\\n\t\t" << targets.at(target)->target; 2360 t << endl << endl; 2361 } 2311 2362 writeExtraVariables(t); 2312 t << "SUBTARGETS = "; // subtargets are sub-directory2313 for(int target = 0; target < targets.size(); ++target)2314 t << " \\\n\t\t" << targets.at(target)->target;2315 t << endl << endl;2316 2363 2317 2364 QStringList targetSuffixes; 2318 2365 const QString abs_source_path = project->first("QMAKE_ABSOLUTE_SOURCE_PATH"); 2319 targetSuffixes << "make_default" << "make_first" << "all" << "clean" << "distclean" 2320 << QString((flags & SubTargetInstalls) ? "install_subtargets" : "install") 2321 << QString((flags & SubTargetInstalls) ? "uninstall_subtargets" : "uninstall"); 2366 if (!(flags & SubTargetSkipDefaultTargets)) { 2367 targetSuffixes << "make_default" << "make_first" << "all" << "clean" << "distclean" 2368 << QString((flags & SubTargetInstalls) ? "install_subtargets" : "install") 2369 << QString((flags & SubTargetInstalls) ? "uninstall_subtargets" : "uninstall"); 2370 } 2322 2371 2323 2372 // generate target rules … … 2439 2488 t << endl; 2440 2489 2441 if(project->values("QMAKE_INTERNAL_QMAKE_DEPS").indexOf("qmake_all") == -1) 2442 project->values("QMAKE_INTERNAL_QMAKE_DEPS").append("qmake_all"); 2443 2444 writeMakeQmake(t); 2445 2446 t << "qmake_all:"; 2447 if(!targets.isEmpty()) { 2448 for(QList<SubTarget*>::Iterator it = targets.begin(); it != targets.end(); ++it) { 2449 if(!(*it)->profile.isEmpty()) 2450 t << " " << (*it)->target << "-" << "qmake_all"; 2451 } 2452 } 2453 if(project->isEmpty("QMAKE_NOFORCE")) 2454 t << " FORCE"; 2455 if(project->isActiveConfig("no_empty_targets")) 2456 t << "\n\t" << "@cd ."; 2457 t << endl << endl; 2490 if (!(flags & SubTargetSkipDefaultTargets)) { 2491 if(project->values("QMAKE_INTERNAL_QMAKE_DEPS").indexOf("qmake_all") == -1) 2492 project->values("QMAKE_INTERNAL_QMAKE_DEPS").append("qmake_all"); 2493 2494 writeMakeQmake(t); 2495 2496 t << "qmake_all:"; 2497 if(!targets.isEmpty()) { 2498 for(QList<SubTarget*>::Iterator it = targets.begin(); it != targets.end(); ++it) { 2499 if(!(*it)->profile.isEmpty()) 2500 t << " " << (*it)->target << "-" << "qmake_all"; 2501 } 2502 } 2503 if(project->isEmpty("QMAKE_NOFORCE")) 2504 t << " FORCE"; 2505 if(project->isActiveConfig("no_empty_targets")) 2506 t << "\n\t" << "@cd ."; 2507 t << endl << endl; 2508 } 2458 2509 2459 2510 for(int s = 0; s < targetSuffixes.size(); ++s) { … … 2464 2515 t << suffix << ":"; 2465 2516 for(int target = 0; target < targets.size(); ++target) { 2466 QString targetRule = targets.at(target)->target + "-" + suffix; 2517 SubTarget *subTarget = targets.at(target); 2518 if((suffix == "make_first" || suffix == "make_default") 2519 && project->values(subTarget->name + ".CONFIG").indexOf("no_default_target") != -1) { 2520 continue; 2521 } 2522 QString targetRule = subTarget->target + "-" + suffix; 2467 2523 if(flags & SubTargetOrdered) 2468 2524 targetRule += "-ordered"; … … 2723 2779 2724 2780 //do the fixin' 2725 const QString pwd = qmake_getpwd() + "/"; 2781 QString pwd = qmake_getpwd(); 2782 if (!pwd.endsWith('/')) 2783 pwd += '/'; 2726 2784 QString orig_file = ret; 2727 2785 if(ret.startsWith(QLatin1Char('~'))) { 2728 2786 if(ret.startsWith(QLatin1String("~/"))) 2729 ret = QDir::homePath() + Option::dir_sep +ret.mid(1);2787 ret = QDir::homePath() + ret.mid(1); 2730 2788 else 2731 2789 warn_msg(WarnLogic, "Unable to expand ~ in %s", ret.toLatin1().constData()); … … 2816 2874 int slsh = f.lastIndexOf(Option::dir_sep); 2817 2875 if(slsh != -1) 2818 file = file.right(file.length() - slsh -1);2876 file 1); 2819 2877 QStringList &l = project->values(w); 2820 2878 for(QStringList::Iterator val_it = l.begin(); val_it != l.end(); ++val_it) { … … 2822 2880 slsh = file2.lastIndexOf(Option::dir_sep); 2823 2881 if(slsh != -1) 2824 file2 = file2.right(file2.length() - slsh -1);2882 file2 1); 2825 2883 if(file2 == file) { 2826 2884 warn_msg(WarnLogic, "Found potential symbol conflict of %s (%s) in %s", … … 2976 3034 QFileInfo fi(fileInfo(file.fileName())); 2977 3035 if(fi.isDir()) 2978 outdir = file.fileName() + QDir::separator();3036 outdir = file.fileName() + ; 2979 3037 } 2980 3038 if(!outdir.isEmpty() || file.fileName().isEmpty()) { … … 2996 3054 if(project->isEmpty("QMAKE_MAKEFILE")) 2997 3055 project->values("QMAKE_MAKEFILE").append(file.fileName()); 2998 int slsh = file.fileName().lastIndexOf( Option::dir_sep);3056 int slsh = file.fileName().lastIndexOf(); 2999 3057 if(slsh != -1) 3000 3058 mkdir(file.fileName().left(slsh)); … … 3006 3064 else 3007 3065 od = fi.path(); 3008 od = Option::fixPathToTargetOS(od); 3009 if(QDir::isRelativePath(od)) 3010 od.prepend(Option::output_dir); 3066 od = QDir::fromNativeSeparators(od); 3067 if(QDir::isRelativePath(od)) { 3068 QString dir = Option::output_dir; 3069 if (!dir.endsWith('/') && !od.isEmpty()) 3070 dir += '/'; 3071 od.prepend(dir); 3072 } 3011 3073 Option::output_dir = od; 3012 3074 return true; -
branches/vendor/nokia/qt/current/qmake/generators/makefile.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 117 117 SubTargetInstalls=0x01, 118 118 SubTargetOrdered=0x02, 119 120 119 121 120 122 SubTargetsNoFlags=0x00 121 123 }; 124 122 125 void writeSubTargets(QTextStream &t, QList<SubTarget*> subtargets, int flags); 123 126 -
branches/vendor/nokia/qt/current/qmake/generators/makefiledeps.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 379 379 file->dep_checked = true; 380 380 381 382 381 383 struct stat fst; 382 384 char *buffer = 0; … … 385 387 int fd; 386 388 #if defined(_MSC_VER) && _MSC_VER >= 1400 387 if (_sopen_s(&fd, fixPathForFile(file->file, true).local().toLatin1().constData(),389 if (_sopen_s(&fd, .local().toLatin1().constData(), 388 390 _O_RDONLY, _SH_DENYNO, _S_IREAD) != 0) 389 391 fd = -1; 390 392 #else 391 fd = open( fixPathForFile(file->file, true).local().toLatin1().constData(), O_RDONLY);393 fd = open(.local().toLatin1().constData(), O_RDONLY); 392 394 #endif 393 395 if(fd == -1 || fstat(fd, &fst) || S_ISDIR(fst.st_mode)) … … 624 626 if(QDir::isRelativePath(lfn.real())) { 625 627 if(try_local) { 626 QString dir = findFileInfo(file->file).path(); 627 if(QDir::isRelativePath(dir)) 628 dir.prepend(qmake_getpwd() + "/"); 629 if(!dir.endsWith("/")) 630 dir += "/"; 631 QMakeLocalFileName f(dir + lfn.local()); 628 QDir sourceDir = findFileInfo(sourceFile).dir(); 629 QMakeLocalFileName f(sourceDir.absoluteFilePath(lfn.local())); 632 630 if(findFileInfo(f).exists()) { 633 631 lfn = fixPathForFile(f); -
branches/vendor/nokia/qt/current/qmake/generators/makefiledeps.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/metamakefile.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 61 61 class BuildsMetaMakefileGenerator : public MetaMakefileGenerator 62 62 { 63 63 64 bool init_flag; 64 private:65 65 struct Build { 66 66 QString name, build; … … 137 137 build->name = name; 138 138 build->makefile = createMakefileGenerator(project, false); 139 makefiles += build; 139 if (build->makefile){ 140 makefiles += build; 141 }else { 142 delete build; 143 return false; 144 } 140 145 } 141 146 return true; … … 259 264 class SubdirsMetaMakefileGenerator : public MetaMakefileGenerator 260 265 { 266 261 267 bool init_flag; 262 private:263 268 struct Subdir { 264 269 Subdir() : makefile(0), indent(0) { } … … 287 292 return false; 288 293 init_flag = true; 294 289 295 290 296 if(Option::recursive) { 291 QString old_output_dir = QDir::cleanPath(Option::output_dir); 292 if(!old_output_dir.endsWith('/')) 293 old_output_dir += '/'; 297 QString old_output_dir = Option::output_dir; 294 298 QString old_output = Option::output.fileName(); 295 QString oldpwd = QDir::cleanPath(qmake_getpwd()); 296 if(!oldpwd.endsWith('/')) 297 oldpwd += '/'; 299 QString oldpwd = qmake_getpwd(); 300 QString thispwd = oldpwd; 301 if(!thispwd.endsWith('/')) 302 thispwd += '/'; 298 303 const QStringList &subdirs = project->values("SUBDIRS"); 299 304 static int recurseDepth = -1; … … 315 320 if(!subdir.isRelative()) { //we can try to make it relative 316 321 QString subdir_path = subdir.filePath(); 317 if(subdir_path.startsWith( oldpwd))318 subdir = QFileInfo(subdir_path.mid( oldpwd.length()));322 if(subdir_path.startsWith(pwd)) 323 subdir = QFileInfo(subdir_path.mid(pwd.length())); 319 324 } 320 325 … … 333 338 qmake_setpwd(sub->input_dir); 334 339 Option::output_dir = sub->output_dir; 335 if(Option::output_dir.at(Option::output_dir.length()-1) != QLatin1Char('/')) 336 Option::output_dir += QLatin1Char('/'); 337 sub_proj->read(subdir.fileName()); 340 bool tmpError = !sub_proj->read(subdir.fileName()); 338 341 if(!sub_proj->variables()["QMAKE_FAILED_REQUIREMENTS"].isEmpty()) { 339 342 fprintf(stderr, "Project file(%s) not recursed because all requirements not met:\n\t%s\n", … … 342 345 delete sub; 343 346 delete sub_proj; 347 348 344 349 continue; 350 351 345 352 } 346 353 sub->makefile = MetaMakefileGenerator::createMetaGenerator(sub_proj, sub_name); … … 350 357 const QString output_name = Option::output.fileName(); 351 358 Option::output.setFileName(sub->output_file); 352 sub->makefile->write(sub->output_dir);359 sub->makefile->write(sub->output_dir); 353 360 delete sub; 354 361 qmakeClearCaches(); … … 374 381 self->makefile->init(); 375 382 subs.append(self); 376 return true; 383 384 return !hasError; 377 385 } 378 386 … … 427 435 #include "msvc_dsp.h" 428 436 #include "msvc_vcproj.h" 437 438 429 439 QT_END_INCLUDE_NAMESPACE 430 440 … … 441 451 QString gen = proj->first("MAKEFILE_GENERATOR"); 442 452 if(gen.isEmpty()) { 443 fprintf(stderr, " No generator specified in config file: %s\n",453 fprintf(stderr, "\n", 444 454 proj->projectFile().toLatin1().constData()); 445 455 } else if(gen == "UNIX") { … … 463 473 } else if(gen == "BMAKE") { 464 474 mkfile = new BorlandMakefileGenerator; 475 476 477 478 465 479 } else { 466 480 fprintf(stderr, "Unknown generator specified: %s\n", gen.toLatin1().constData()); … … 474 488 475 489 MetaMakefileGenerator * 476 MetaMakefileGenerator::createMetaGenerator(QMakeProject *proj, const QString &name, bool op )490 MetaMakefileGenerator::createMetaGenerator(QMakeProject *proj, const QString &name, bool op) 477 491 { 478 492 MetaMakefileGenerator *ret = 0; 479 if ((Option::qmake_mode == Option::QMAKE_GENERATE_MAKEFILE ||480 Option::qmake_mode == Option::QMAKE_GENERATE_PRL)) {481 if (proj->first("TEMPLATE").endsWith("subdirs"))493 if((Option::qmake_mode == Option::QMAKE_GENERATE_MAKEFILE || 494 Option::qmake_mode == Option::QMAKE_GENERATE_PRL)) { 495 if(proj->first("TEMPLATE").endsWith("subdirs")) 482 496 ret = new SubdirsMetaMakefileGenerator(proj, name, op); 483 497 } 484 if (!ret)498 if(!ret) 485 499 ret = new BuildsMetaMakefileGenerator(proj, name, op); 486 ret->init(); 500 bool res = ret->init(); 501 if (success) 502 *success = res; 487 503 return ret; 488 504 } -
branches/vendor/nokia/qt/current/qmake/generators/metamakefile.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 63 63 virtual ~MetaMakefileGenerator(); 64 64 65 static MetaMakefileGenerator *createMetaGenerator(QMakeProject *proj, const QString &name, bool op=true );65 static MetaMakefileGenerator *createMetaGenerator(QMakeProject *proj, const QString &name, bool op=true); 66 66 static MakefileGenerator *createMakefileGenerator(QMakeProject *proj, bool noIO = false); 67 67 -
branches/vendor/nokia/qt/current/qmake/generators/projectgenerator.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/projectgenerator.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/unix/unixmake.cpp
r2 r556 1 1 /**************************************************************************** 2 ** 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 5 ** 6 ** This file is part of the qmake application of the Qt Toolkit. 7 ** 8 ** $QT_BEGIN_LICENSE:LGPL$ 2 ** 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 6 ** 7 ** This file is part of the qmake application of the Qt Toolkit. 8 ** 9 ** $QT_BEGIN_LICENSE:LGPL$ 9 10 ** Commercial Usage 10 11 ** Licensees holding valid Qt Commercial licenses may use this file in … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 ** 40 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 41 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 42 ** 43 ****************************************************************************/ 39 ** 40 ****************************************************************************/ 44 41 45 42 #include "unixmake.h" … … 92 89 project->values("QMAKE_LIBTOOL").append("libtool --silent"); 93 90 if(project->isEmpty("QMAKE_SYMBOLIC_LINK")) 94 project->values("QMAKE_SYMBOLIC_LINK").append("ln - sf");91 project->values("QMAKE_SYMBOLIC_LINK").append("ln -"); 95 92 96 93 /* this should probably not be here, but I'm using it to wrap the .t files */ … … 128 125 project->values("QMAKE_ORIG_DESTDIR") = project->values("DESTDIR"); 129 126 project->values("QMAKE_LIBS") += escapeFilePaths(project->values("LIBS")); 127 130 128 if((!project->isEmpty("QMAKE_LIB_FLAG") && !project->isActiveConfig("staticlib")) || 131 129 (project->isActiveConfig("qt") && project->isActiveConfig("plugin"))) { … … 262 260 else if(!bundle.endsWith(".plugin")) 263 261 bundle += ".plugin"; 264 if( !project->isEmpty("QMAKE_BUNDLE_LOCATION"))262 if(project->isEmpty("QMAKE_BUNDLE_LOCATION")) 265 263 project->values("QMAKE_BUNDLE_LOCATION").append("Contents/MacOS"); 266 264 } else { … … 442 440 frameworkdirs.append(QMakeLocalFileName("/System/Library/Frameworks")); 443 441 frameworkdirs.append(QMakeLocalFileName("/Library/Frameworks")); 444 const QString lflags[] = { "QMAKE_LIBDIR_FLAGS", "QMAKE_FRAMEWORKPATH_FLAGS", "QMAKE_LFLAGS", "QMAKE_LIBS", QString() };442 const QString lflags[] = { "QMAKE_LIBDIR_FLAGS", "QMAKE_FRAMEWORKPATH_FLAGS", "QMAKE_LFLAGS", "QMAKE_LIBS", QString() }; 445 443 for(int i = 0; !lflags[i].isNull(); i++) { 446 444 QStringList &l = project->values(lflags[i]); … … 764 762 ret += QString("\n\t$(RANLIB) \"") + dst_targ + "\""; 765 763 } else if(!project->isActiveConfig("debug") && !project->isActiveConfig("nostrip") && !project->isEmpty("QMAKE_STRIP")) { 766 ret += "\n\t- " + var("QMAKE_STRIP");764 ret += "\n\t-; 767 765 if(project->first("TEMPLATE") == "lib" && !project->isEmpty("QMAKE_STRIPFLAGS_LIB")) 768 766 ret += " " + var("QMAKE_STRIPFLAGS_LIB"); -
branches/vendor/nokia/qt/current/qmake/generators/unix/unixmake.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/unix/unixmake2.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 150 150 t << "LFLAGS = " << var("QMAKE_LFLAGS") << endl; 151 151 t << "LIBS = " << "$(SUBLIBS) " << var("QMAKE_FRAMEWORKDIR_FLAGS") << " " 152 << var("QMAKE_LIBDIR_FLAGS") << " " << var("QMAKE_LIBS") << endl;152 << var("QMAKE_LIBDIR_FLAGS") << " " << var("QMAKE_LIBS") << endl; 153 153 } 154 154 … … 164 164 t << "COPY_FILE = " << var("QMAKE_COPY_FILE") << endl; 165 165 t << "COPY_DIR = " << var("QMAKE_COPY_DIR") << endl; 166 166 167 t << "INSTALL_FILE = " << var("QMAKE_INSTALL_FILE") << endl; 167 168 t << "INSTALL_DIR = " << var("QMAKE_INSTALL_DIR") << endl; … … 1424 1425 1425 1426 // libs 1426 QStringList libs;1427 if(!project->isEmpty("QMAKE_INTERNAL_PRL_LIBS")) {1428 libs = project->values("QMAKE_INTERNAL_PRL_LIBS");1429 } else {1430 libs << "QMAKE_LIBS"; //obvious one1431 }1432 libs << "QMAKE_LFLAGS_THREAD"; //not sure about this one, but what about things like -pthread?1433 1427 t << "Libs: "; 1434 1428 QString pkgConfiglibDir; … … 1450 1444 } 1451 1445 t << pkgConfiglibDir << " " << pkgConfiglibName << " " << endl; 1446 1447 1448 1449 1450 1451 1452 1453 1454 1452 1455 t << "Libs.private: "; 1453 1456 for(QStringList::ConstIterator it = libs.begin(); it != libs.end(); ++it) { -
branches/vendor/nokia/qt/current/qmake/generators/win32/borland_bmake.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/win32/borland_bmake.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/win32/mingw_make.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 83 83 bool MingwMakefileGenerator::findLibraries() 84 84 { 85 QStringList &l = project->values("QMAKE_LIBS"); 85 return findLibraries("QMAKE_LIBS") && findLibraries("QMAKE_LIBS_PRIVATE"); 86 } 87 88 bool MingwMakefileGenerator::findLibraries(const QString &where) 89 { 90 QStringList &l = project->values(where); 86 91 87 92 QList<QMakeLocalFileName> dirs; … … 259 264 // LIBS defined in Profile comes first for gcc 260 265 project->values("QMAKE_LIBS") += escapeFilePaths(project->values("LIBS")); 266 261 267 262 268 QString targetfilename = project->values("TARGET").first(); … … 345 351 if(!project->values("QMAKE_LIBDIR").isEmpty()) 346 352 writeLibDirPart(t); 347 t << var("QMAKE_LIBS").replace(QRegExp("(\\slib|^lib)")," -l") << endl; 353 t << var("QMAKE_LIBS").replace(QRegExp("(\\slib|^lib)")," -l") << ' ' 354 << var("QMAKE_LIBS_PRIVATE").replace(QRegExp("(\\slib|^lib)")," -l") << endl; 348 355 } 349 356 } -
branches/vendor/nokia/qt/current/qmake/generators/win32/mingw_make.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 73 73 74 74 virtual bool findLibraries(); 75 75 76 void fixTargetExt(); 76 77 -
branches/vendor/nokia/qt/current/qmake/generators/win32/msvc_dsp.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 683 683 if(!profile.endsWith(Option::dir_sep)) 684 684 profile += Option::dir_sep; 685 profile += fi.baseName() + ".pro";685 profile += fi.baseName() + ; 686 686 subdirs.append(profile); 687 687 } else { -
branches/vendor/nokia/qt/current/qmake/generators/win32/msvc_dsp.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/win32/msvc_nmake.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 173 173 174 174 project->values("QMAKE_LIBS") += escapeFilePaths(project->values("LIBS")); 175 175 176 processVars(); 176 177 -
branches/vendor/nokia/qt/current/qmake/generators/win32/msvc_nmake.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/win32/msvc_objectmodel.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 50 50 const char _Configuration[] = "Configuration"; 51 51 const char _Configurations[] = "Configurations"; 52 const char _File[] = "File";52 const char _File[] = "File"; 53 53 const char _FileConfiguration[] = "FileConfiguration"; 54 const char _Files[] = "Files";54 const char _Files[] = "Files"; 55 55 const char _Filter[] = "Filter"; 56 56 const char _Globals[] = "Globals"; … … 485 485 if (opt.contains('a') && !opt.contains('s') && !opt.contains('c')) 486 486 ExceptionHandling = ehSEH; 487 else if (!opt.contains('a') && opt.contains("s-") && opt.contains("c-")) 487 else if (!opt.contains('a') && opt.contains("s-") && opt.contains("c-")) 488 488 ExceptionHandling = ehNone; 489 489 else if (!opt.contains('a') && opt.contains('s') && opt.contains('c')) … … 1395 1395 TargetMachine = machineX86; 1396 1396 break; 1397 1398 1399 1397 1400 // so we put the others in AdditionalOptions... 1398 case 0x0005b94: // X641399 1401 case 0x0046063: // AM33 1400 1402 case 0x000466d: // ARM … … 2382 2384 for (int i = 0; i < tool.Files.count(); ++i) { 2383 2385 const VCFilterFile &info = tool.Files.at(i); 2384 xml << tag( _File)2386 xml << tag(_File) 2385 2387 << attrS(_RelativePath, Option::fixPathToLocalOS(info.file)) 2386 2388 << data(); // In case no custom builds, to avoid "/>" endings 2387 2389 tool.outputFileConfig(xml, tool.Files.at(i).file); 2388 xml << closetag( _File);2390 xml << closetag(_File); 2389 2391 } 2390 2392 if (!tool.Name.isEmpty()) … … 2422 2424 << tool.Configuration; 2423 2425 xml << closetag(_Configurations) 2424 << tag( _Files);2426 << tag(_Files); 2425 2427 // Add this configuration into a multi-config project, since that's where we have the flat/tree 2426 2428 // XML output functionality … … 2438 2440 } 2439 2441 tempProj.outputFilter(xml, "RootFiles"); 2440 xml << closetag( _Files)2442 xml << closetag(_Files) 2441 2443 << tag(_Globals) 2442 2444 << data(); // No "/>" end tag … … 2493 2495 const QString &filtername) 2494 2496 { 2495 xml << tag( _File)2497 xml << tag(_File) 2496 2498 << attrS(_RelativePath, Option::fixPathToLocalOS(info.file)); 2497 2499 for (int i = 0; i < SingleProjects.count(); ++i) { … … 2521 2523 filter.outputFileConfig(xml, info.file); 2522 2524 } 2523 xml << closetag( _File);2525 xml << closetag(_File); 2524 2526 } 2525 2527 … … 2616 2618 xml << tool.SingleProjects.at(i).Configuration; 2617 2619 xml << closetag(_Configurations) 2618 << tag( _Files);2620 << tag(_Files); 2619 2621 tool.outputFilter(xml, "Sources"); 2620 2622 tool.outputFilter(xml, "Headers"); … … 2628 2630 } 2629 2631 tool.outputFilter(xml, "RootFiles"); 2630 xml << closetag( _Files)2632 xml << closetag(_Files) 2631 2633 << tag(_Globals) 2632 2634 << data(); // No "/>" end tag -
branches/vendor/nokia/qt/current/qmake/generators/win32/msvc_objectmodel.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 299 299 enum machineTypeOption { 300 300 machineNotSet, 301 machineX86 301 machineX86, 302 machineX64 = 17 302 303 }; 303 304 enum midlCharOption { -
branches/vendor/nokia/qt/current/qmake/generators/win32/msvc_vcproj.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 121 121 122 122 HKEY handle = 0; 123 LONG res; 124 QT_WA( { 125 res = RegOpenKeyExW(parentHandle, (WCHAR*)rSubkeyPath.utf16(), 126 0, KEY_READ, &handle); 127 } , { 128 res = RegOpenKeyExA(parentHandle, rSubkeyPath.toLocal8Bit(), 129 0, KEY_READ, &handle); 130 } ); 123 LONG res = RegOpenKeyEx(parentHandle, (wchar_t*)rSubkeyPath.utf16(), 0, KEY_READ, &handle); 131 124 132 125 if (res != ERROR_SUCCESS) … … 136 129 DWORD dataType; 137 130 DWORD dataSize; 138 QT_WA( { 139 res = RegQueryValueExW(handle, (WCHAR*)rSubkeyName.utf16(), 0, &dataType, 0, &dataSize); 140 }, { 141 res = RegQueryValueExA(handle, rSubkeyName.toLocal8Bit(), 0, &dataType, 0, &dataSize); 142 } ); 131 res = RegQueryValueEx(handle, (wchar_t*)rSubkeyName.utf16(), 0, &dataType, 0, &dataSize); 143 132 if (res != ERROR_SUCCESS) { 144 133 RegCloseKey(handle); … … 148 137 // get the value 149 138 QByteArray data(dataSize, 0); 150 QT_WA( { 151 res = RegQueryValueExW(handle, (WCHAR*)rSubkeyName.utf16(), 0, 0, 152 reinterpret_cast<unsigned char*>(data.data()), &dataSize); 153 }, { 154 res = RegQueryValueExA(handle, rSubkeyName.toLocal8Bit(), 0, 0, 155 reinterpret_cast<unsigned char*>(data.data()), &dataSize); 156 } ); 139 res = RegQueryValueEx(handle, (wchar_t*)rSubkeyName.utf16(), 0, 0, 140 reinterpret_cast<unsigned char*>(data.data()), &dataSize); 157 141 if (res != ERROR_SUCCESS) { 158 142 RegCloseKey(handle); … … 164 148 case REG_EXPAND_SZ: 165 149 case REG_SZ: { 166 QT_WA( { 167 result = QString::fromUtf16(((const ushort*)data.constData())); 168 }, { 169 result = QString::fromLatin1(data.constData()); 170 } ); 150 result = QString::fromWCharArray(((const wchar_t *)data.constData())); 171 151 break; 172 152 } … … 176 156 int i = 0; 177 157 for (;;) { 178 QString s; 179 QT_WA( { 180 s = QString::fromUtf16((const ushort*)data.constData() + i); 181 }, { 182 s = QString::fromLatin1(data.constData() + i); 183 } ); 158 QString s = QString::fromWCharArray((const wchar_t *)data.constData() + i); 184 159 i += s.length() + 1; 185 160 … … 194 169 case REG_NONE: 195 170 case REG_BINARY: { 196 QT_WA( { 197 result = QString::fromUtf16((const ushort*)data.constData(), data.size()/2); 198 }, { 199 result = QString::fromLatin1(data.constData(), data.size()); 200 } ); 171 result = QString::fromWCharArray((const wchar_t *)data.constData(), data.size() / 2); 201 172 break; 202 173 } … … 525 496 if(!profile.endsWith(Option::dir_sep)) 526 497 profile += Option::dir_sep; 527 profile += fi.baseName() + ".pro";498 profile += fi.baseName() + ; 528 499 subdirs.append(profile); 529 500 } else { … … 575 546 576 547 // We assume project filename is [QMAKE_ORIG_TARGET].vcproj 577 QString vcproj = unescapeFilePath( fixFilename(tmp_vcproj.project->first("QMAKE_ORIG_TARGET")) + project->first("VCPROJ_EXTENSION"));548 QString vcproj = unescapeFilePath() + project->first("VCPROJ_EXTENSION")); 578 549 QString vcprojDir = qmake_getpwd(); 579 550 … … 653 624 654 625 // Add all unknown libs to the deps 655 QStringList where ("QMAKE_LIBS");626 QStringList where; 656 627 if(!tmp_proj.isEmpty("QMAKE_INTERNAL_PRL_LIBS")) 657 628 where = tmp_proj.variables()["QMAKE_INTERNAL_PRL_LIBS"]; … … 1031 1002 if(project->isActiveConfig("debug")){ 1032 1003 // Debug version 1033 conf.compiler.parseOptions(project->values("QMAKE_CXXFLAGS"));1034 1004 conf.compiler.parseOptions(project->values("QMAKE_CXXFLAGS_DEBUG")); 1035 1005 if((projectTarget == Application) || (projectTarget == StaticLib)) … … 1039 1009 } else { 1040 1010 // Release version 1041 conf.compiler.parseOptions(project->values("QMAKE_CXXFLAGS"));1042 1011 conf.compiler.parseOptions(project->values("QMAKE_CXXFLAGS_RELEASE")); 1043 1012 conf.compiler.PreprocessorDefinitions += "QT_NO_DEBUG"; … … 1204 1173 targetPath = QString("%CSIDL_PROGRAM_FILES%\\") + project->first("TARGET"); 1205 1174 if (targetPath.endsWith("/") || targetPath.endsWith("\\")) 1206 targetPath = targetPath.mid(0,targetPath.size()-1);1175 targetPath1); 1207 1176 1208 1177 // Only deploy Qt libs for shared build … … 1271 1240 // get item.path 1272 1241 QString devicePath = project->first(item + ".path"); 1273 // if the path does not exist, skip it1274 1242 if (devicePath.isEmpty()) 1275 continue;1243 ; 1276 1244 // check if item.path is relative (! either /,\ or %) 1277 1245 if (!(devicePath.at(0) == QLatin1Char('/') … … 1583 1551 1584 1552 project->values("QMAKE_LIBS") += escapeFilePaths(project->values("LIBS")); 1553 1585 1554 1586 1555 // Get filename w/o extension ----------------------------------- … … 1626 1595 // $$QMAKE.. -> $$MSVCPROJ.. ------------------------------------- 1627 1596 project->values("MSVCPROJ_LIBS") += project->values("QMAKE_LIBS"); 1597 1628 1598 project->values("MSVCPROJ_LFLAGS") += project->values("QMAKE_LFLAGS"); 1629 1599 if(!project->values("QMAKE_LIBDIR").isEmpty()) { -
branches/vendor/nokia/qt/current/qmake/generators/win32/msvc_vcproj.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/generators/win32/winmakefile.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 433 433 rcFile.close(); 434 434 } 435 if (writeRcFile && rcFile.open(QFile::WriteOnly)) { 436 rcFile.write(rcString); 437 rcFile.close(); 435 if (writeRcFile) { 436 bool ok; 437 ok = rcFile.open(QFile::WriteOnly); 438 if (!ok) { 439 // The file can't be opened... try creating the containing 440 // directory first (needed for clean shadow builds) 441 QDir().mkpath(QFileInfo(rcFile).path()); 442 ok = rcFile.open(QFile::WriteOnly); 443 } 444 if (!ok) { 445 ::fprintf(stderr, "Cannot open for writing: %s", rcFile.fileName().toLatin1().constData()); 446 ::exit(1); 447 } 448 rcFile.write(rcString); 449 rcFile.close(); 438 450 } 439 451 if (project->values("QMAKE_WRITE_DEFAULT_RC").isEmpty()) … … 615 627 QString orgDestDir = var("DESTDIR"); 616 628 QString destDir = Option::fixPathToTargetOS(orgDestDir, false); 617 if ( orgDestDir.endsWith('/') || orgDestDir.endsWith(Option::dir_sep))629 if ()) 618 630 destDir += Option::dir_sep; 619 631 QString target = QString(project->first("TARGET")+project->first("TARGET_EXT")); … … 697 709 writeLibDirPart(t); 698 710 t << var("QMAKE_LFLAGS") << endl; 699 t << "LIBS = " << var("QMAKE_LIBS") << endl;711 t << "LIBS = " << var("QMAKE_LIBS") << endl; 700 712 } 701 713 } -
branches/vendor/nokia/qt/current/qmake/generators/win32/winmakefile.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 90 90 91 91 inline bool Win32MakefileGenerator::findLibraries() 92 { return findLibraries("QMAKE_LIBS") ; }92 { return findLibraries("QMAKE_LIBS"); } 93 93 94 94 QT_END_NAMESPACE -
branches/vendor/nokia/qt/current/qmake/generators/xmloutput.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 278 278 { 279 279 bool cont = true; 280 if (!tagStack.contains(tag) && tag != QString()) {280 if (!tagStack.contains(tag) && ()) { 281 281 //warn_msg(WarnLogic, "<%s>: Cannot close to tag <%s>, not on stack", tagStack.last().latin1(), tag.latin1()); 282 282 qDebug("<%s>: Cannot close to tag <%s>, not on stack", tagStack.last().toLatin1().constData(), tag.toLatin1().constData()); -
branches/vendor/nokia/qt/current/qmake/generators/xmloutput.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/main.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 85 85 int runQMake(int argc, char **argv) 86 86 { 87 88 89 90 91 92 87 93 // parse command line 88 94 int ret = Option::init(argc, argv); … … 92 98 return 0; 93 99 } 94 95 // report Qt usage for commercial customers with a "metered license" (currently experimental)96 #if QT_EDITION != QT_EDITION_OPENSOURCE97 QString reporterPath = QLibraryInfo::location(QLibraryInfo::BinariesPath) + QDir::separator()98 + "qtusagereporter";99 #if defined(Q_OS_WIN)100 reporterPath += ".exe";101 #endif102 if (QFile::exists(reporterPath))103 system(qPrintable(reporterPath + " qmake"));104 #endif105 100 106 101 QString oldpwd = qmake_getpwd(); … … 174 169 } 175 170 176 MetaMakefileGenerator *mkfile = MetaMakefileGenerator::createMetaGenerator(&project, QString(), false); 171 bool success = true; 172 MetaMakefileGenerator *mkfile = MetaMakefileGenerator::createMetaGenerator(&project, QString(), false, &success); 173 if (!success) 174 exit_val = 3; 175 177 176 if(mkfile && !mkfile->write(oldpwd)) { 178 177 if(Option::qmake_mode == Option::QMAKE_GENERATE_PROJECT) -
branches/vendor/nokia/qt/current/qmake/meta.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/meta.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/option.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 69 69 QString Option::yacc_ext; 70 70 QString Option::pro_ext; 71 71 72 QString Option::dir_sep; 72 73 QString Option::dirlist_sep; … … 100 101 #elif defined(Q_OS_MAC) 101 102 Option::TARG_MODE Option::target_mode = Option::TARG_MACX_MODE; 102 #elif defined(Q_OS_QNX6)103 Option::TARG_MODE Option::target_mode = Option::TARG_QNX6_MODE;104 103 #else 105 104 Option::TARG_MODE Option::target_mode = Option::TARG_UNIX_MODE; … … 153 152 " be built,\n" 154 153 " defaults to %s\n" 154 155 156 155 157 " -makefile Put qmake into makefile generation mode%s\n" 156 158 " In this mode qmake interprets files as project files to\n" … … 382 384 Option::yacc_ext = ".y"; 383 385 Option::pro_ext = ".pro"; 386 384 387 #ifdef Q_OS_WIN 385 388 Option::dirlist_sep = ";"; … … 717 720 QString ret; 718 721 #if defined( Q_OS_WIN ) 719 QFileInfo filePath; 720 QT_WA({ 721 unsigned short module_name[256]; 722 GetModuleFileNameW(0, reinterpret_cast<wchar_t *>(module_name), sizeof(module_name)); 723 filePath = QString::fromUtf16(module_name); 724 }, { 725 char module_name[256]; 726 GetModuleFileNameA(0, module_name, sizeof(module_name)); 727 filePath = QString::fromLocal8Bit(module_name); 728 }); 722 wchar_t module_name[MAX_PATH]; 723 GetModuleFileName(0, module_name, MAX_PATH); 724 QFileInfo filePath = QString::fromWCharArray(module_name); 729 725 ret = filePath.filePath(); 730 726 #else -
branches/vendor/nokia/qt/current/qmake/option.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 93 93 static QString sysenv_mod; 94 94 static QString pro_ext; 95 95 96 static QString res_ext; 96 97 static char field_sep; … … 150 151 static bool recursive; 151 152 static QStringList before_user_vars, after_user_vars, user_configs, after_user_configs; 152 enum TARG_MODE { TARG_UNIX_MODE, TARG_WIN_MODE, TARG_MACX_MODE, TARG_MAC9_MODE , TARG_QNX6_MODE};153 enum TARG_MODE { TARG_UNIX_MODE, TARG_WIN_MODE, TARG_MACX_MODE, TARG_MAC9_MODE }; 153 154 static TARG_MODE target_mode; 154 155 static QString user_template, user_template_prefix; -
branches/vendor/nokia/qt/current/qmake/project.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 44 44 #include "option.h" 45 45 #include "cachekeys.h" 46 47 46 48 47 49 #include <qdatetime.h> … … 58 60 #include <sys/utsname.h> 59 61 #elif defined(Q_OS_WIN32) 60 #include < Windows.h>62 #include <indows.h> 61 63 #endif 62 64 #include <stdio.h> … … 77 79 E_SPRINTF, E_JOIN, E_SPLIT, E_BASENAME, E_DIRNAME, E_SECTION, 78 80 E_FIND, E_SYSTEM, E_UNIQUE, E_QUOTE, E_ESCAPE_EXPAND, 79 E_UPPER, E_LOWER, E_FILES, E_PROMPT, E_RE_ESCAPE, E_REPLACE }; 81 E_UPPER, E_LOWER, E_FILES, E_PROMPT, E_RE_ESCAPE, E_REPLACE, 82 E_SIZE }; 80 83 QMap<QString, ExpandFunc> qmake_expandFunctions() 81 84 { … … 108 111 qmake_expand_functions->insert("prompt", E_PROMPT); 109 112 qmake_expand_functions->insert("replace", E_REPLACE); 113 110 114 } 111 115 return *qmake_expand_functions; … … 153 157 return *qmake_test_functions; 154 158 } 155 156 QT_END_NAMESPACE157 158 #ifdef QTSCRIPT_SUPPORT159 #include "qscriptvalue.h"160 #include "qscriptengine.h"161 #include "qscriptvalueiterator.h"162 163 QT_BEGIN_NAMESPACE164 165 static QScriptValue qscript_projectWrapper(QScriptEngine *eng, QMakeProject *project,166 const QMap<QString, QStringList> &place);167 168 static bool qscript_createQMakeProjectMap(QMap<QString, QStringList> &vars, QScriptValue js)169 {170 QScriptValueIterator it(js);171 while(it.hasNext()) {172 it.next();173 vars[it.name()] = qscriptvalue_cast<QStringList>(it.value());174 }175 return true;176 }177 178 static QScriptValue qscript_call_testfunction(QScriptContext *context, QScriptEngine *engine)179 {180 QMakeProject *self = qscriptvalue_cast<QMakeProject*>(context->callee().property("qmakeProject"));181 QString func = context->callee().property("functionName").toString();182 QStringList args;183 for(int i = 0; i < context->argumentCount(); ++i)184 args += context->argument(i).toString();185 QMap<QString, QStringList> place = self->variables();186 qscript_createQMakeProjectMap(place, engine->globalObject().property("qmake"));187 QScriptValue ret(engine, self->doProjectTest(func, args, place));188 engine->globalObject().setProperty("qmake", qscript_projectWrapper(engine, self, place));189 return ret;190 }191 192 static QScriptValue qscript_call_expandfunction(QScriptContext *context, QScriptEngine *engine)193 {194 QMakeProject *self = qscriptvalue_cast<QMakeProject*>(context->callee().property("qmakeProject"));195 QString func = context->callee().property("functionName").toString();196 QStringList args;197 for(int i = 0; i < context->argumentCount(); ++i)198 args += context->argument(i).toString();199 QMap<QString, QStringList> place = self->variables();200 qscript_createQMakeProjectMap(place, engine->globalObject().property("qmake"));201 QScriptValue ret = qScriptValueFromValue(engine, self->doProjectExpand(func, args, place));202 engine->globalObject().setProperty("qmake", qscript_projectWrapper(engine, self, place));203 return ret;204 }205 206 static QScriptValue qscript_projectWrapper(QScriptEngine *eng, QMakeProject *project,207 const QMap<QString, QStringList> &place)208 {209 QScriptValue ret = eng->newObject();210 {211 QStringList testFuncs = qmake_testFunctions().keys() + project->userTestFunctions();212 for(int i = 0; i < testFuncs.size(); ++i) {213 QString funcName = testFuncs.at(i);214 QScriptValue fun = eng->newFunction(qscript_call_testfunction);215 fun.setProperty("qmakeProject", eng->newVariant(qVariantFromValue(project)));216 fun.setProperty("functionName", QScriptValue(eng, funcName));217 eng->globalObject().setProperty(funcName, fun);218 }219 }220 {221 QStringList testFuncs = qmake_expandFunctions().keys() + project->userExpandFunctions();222 for(int i = 0; i < testFuncs.size(); ++i) {223 QString funcName = testFuncs.at(i);224 QScriptValue fun = eng->newFunction(qscript_call_expandfunction);225 fun.setProperty("qmakeProject", eng->newVariant(qVariantFromValue(project)));226 fun.setProperty("functionName", QScriptValue(eng, funcName));227 eng->globalObject().setProperty(funcName, fun);228 }229 }230 for(QMap<QString, QStringList>::ConstIterator it = place.begin(); it != place.end(); ++it)231 ret.setProperty(it.key(), qScriptValueFromValue(eng, it.value()));232 return ret;233 }234 235 static QScriptValue qscript_toArray(QScriptEngine *eng, const QStringList &elts)236 {237 QScriptValue a = eng->newArray();238 for (int i = 0; i < elts.count(); ++i)239 a.setProperty(i, QScriptValue(eng, elts.at(i)));240 return a;241 }242 243 QT_END_NAMESPACE244 245 #endif246 247 QT_BEGIN_NAMESPACE248 159 249 160 struct parser_info { … … 597 508 } 598 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 599 573 /* 600 574 1) environment variable QMAKEFEATURES (as separated by colons) … … 623 597 break; 624 598 case Option::TARG_UNIX_MODE: 625 concat << base_concat + QDir::separator() + "unix"; 626 break; 599 { 600 if (isForSymbian()) 601 concat << base_concat + QDir::separator() + "symbian"; 602 else 603 concat << base_concat + QDir::separator() + "unix"; 604 break; 605 } 627 606 case Option::TARG_WIN_MODE: 628 concat << base_concat + QDir::separator() + "win32"; 629 break; 607 { 608 if (isForSymbian()) 609 concat << base_concat + QDir::separator() + "symbian"; 610 else 611 concat << base_concat + QDir::separator() + "win32"; 612 break; 613 } 630 614 case Option::TARG_MAC9_MODE: 631 615 concat << base_concat + QDir::separator() + "mac"; 632 616 concat << base_concat + QDir::separator() + "mac9"; 633 break;634 case Option::TARG_QNX6_MODE: //also a unix635 concat << base_concat + QDir::separator() + "qnx6";636 concat << base_concat + QDir::separator() + "unix";637 617 break; 638 618 } … … 1484 1464 return false; 1485 1465 } 1466 1467 1468 1486 1469 if(Option::mkfile::do_cache && !Option::mkfile::cachefile.isEmpty()) { 1487 1470 debug_msg(1, "QMAKECACHE file: reading %s", Option::mkfile::cachefile.toLatin1().constData()); … … 1530 1513 if(cmd & ReadProFile) { // parse project file 1531 1514 debug_msg(1, "Project file: reading %s", pfile.toLatin1().constData()); 1532 if(pfile != "-" && !QFile::exists(pfile) && !pfile.endsWith( ".pro"))1533 pfile += ".pro";1515 if(pfile != "-" && !QFile::exists(pfile) && !pfile.endsWith()) 1516 pfile += ; 1534 1517 if(!read(pfile, vars)) 1535 1518 return false; … … 1618 1601 return false; 1619 1602 1620 //mkspecs1621 if((Option::target_mode == Option::TARG_MACX_MODE || Option::target_mode == Option::TARG_QNX6_MODE ||1622 Option::target_mode == Option::TARG_UNIX_MODE) && x == "unix")1623 return true;1624 else if(Option::target_mode == Option::TARG_MACX_MODE && x == "macx")1625 return true;1626 else if(Option::target_mode == Option::TARG_QNX6_MODE && x == "qnx6")1627 return true;1628 else if(Option::target_mode == Option::TARG_MAC9_MODE && x == "mac9")1629 return true;1630 else if((Option::target_mode == Option::TARG_MAC9_MODE || Option::target_mode == Option::TARG_MACX_MODE) &&1631 x == "mac")1632 return true;1633 else if(Option::target_mode == Option::TARG_WIN_MODE && x == "win32")1634 return true;1635 QRegExp re(x, Qt::CaseSensitive, QRegExp::Wildcard);1636 1603 static QString spec; 1637 1604 if(spec.isEmpty()) 1638 1605 spec = QFileInfo(Option::mkfile::qmakespec).fileName(); 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1639 1629 if((regex && re.exactMatch(spec)) || (!regex && spec == x)) 1640 1630 return true; … … 1727 1717 static QStringList *feature_roots = 0; 1728 1718 if(!feature_roots) { 1719 1729 1720 feature_roots = new QStringList(qmake_feature_paths(prop)); 1730 1721 qmakeAddCacheClear(qmakeDeleteCacheClear_QStringList, (void**)&feature_roots); … … 1812 1803 parser_info pi = parser; 1813 1804 if(format == JSFormat) { 1814 #ifdef QTSCRIPT_SUPPORT1815 eng.globalObject().setProperty("qmake", qscript_projectWrapper(&eng, this, place));1816 QFile f(file);1817 if (f.open(QFile::ReadOnly)) {1818 QString code = f.readAll();1819 QScriptValue r = eng.evaluate(code);1820 if(eng.hasUncaughtException()) {1821 const int lineNo = eng.uncaughtExceptionLineNumber();1822 fprintf(stderr, "%s:%d: %s\n", file.toLatin1().constData(), lineNo,1823 r.toString().toLatin1().constData());1824 } else {1825 parsed = true;1826 QScriptValue variables = eng.globalObject().property("qmake");1827 if (variables.isValid() && variables.isObject())1828 qscript_createQMakeProjectMap(place, variables);1829 }1830 }1831 #else1832 1805 warn_msg(WarnParser, "%s:%d: QtScript support disabled for %s.", 1833 1806 pi.file.toLatin1().constData(), pi.line_no, orig_file.toLatin1().constData()); 1834 #endif1835 1807 } else { 1836 1808 QStack<ScopeBlock> sc = scope_blocks; … … 2167 2139 QMakeProjectEnv env(place); 2168 2140 char buff[256]; 2169 FILE *proc = QT_POPEN(args[0].toLatin1(), "r");2170 2141 bool singleLine = true; 2171 2142 if(args.count() > 1) 2172 2143 singleLine = (args[1].toLower() == "true"); 2173 2144 QString output; 2145 2174 2146 while(proc && !feof(proc)) { 2175 2147 int read_in = int(fread(buff, 1, 255, proc)); … … 2320 2292 } 2321 2293 break; } 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2322 2304 default: { 2323 #ifdef QTSCRIPT_SUPPORT2324 {2325 QScriptValue jsFunc = eng.globalObject().property(func);2326 if(jsFunc.isFunction()) {2327 QScriptValueList jsArgs;2328 for(int i = 0; i < args.size(); ++i)2329 jsArgs += QScriptValue(&eng, args.at(i));2330 QScriptValue jsRet = jsFunc.call(eng.globalObject(), jsArgs);2331 ret = qscriptvalue_cast<QStringList>(jsRet);2332 break;2333 }2334 }2335 #endif2336 2305 fprintf(stderr, "%s:%d: Unknown replace function: %s\n", 2337 2306 parser.file.toLatin1().constData(), parser.line_no, … … 2413 2382 int lhs_int = lhs.toInt(&ok); 2414 2383 if(ok) { 2415 if(func == "greaterThan")2384 if(func) 2416 2385 return lhs_int > rhs_int; 2417 2386 return lhs_int < rhs_int; … … 2708 2677 QString parseInto; 2709 2678 const bool include_statement = (func_t == T_INCLUDE); 2710 bool ignore_error = include_statement;2711 if(args.count() == 2) {2679 bool ignore_error = ; 2680 if(args.count() = 2) { 2712 2681 if(func_t == T_INCLUDE) { 2713 2682 parseInto = args[1]; 2683 2684 2685 2686 2687 2714 2688 } else { 2715 2689 QString sarg = args[1]; … … 2753 2727 warn_msg(WarnParser, "%s:%d: Duplicate of loaded feature %s", 2754 2728 parser.file.toLatin1().constData(), parser.line_no, file.toLatin1().constData()); 2755 } else if(stat == IncludeNoExist && include_statement) {2756 warn_msg(Warn Parser, "%s:%d: Unable to find file for inclusion %s",2729 } else if(stat == IncludeNoExist && ) { 2730 warn_msg(Warn, "%s:%d: Unable to find file for inclusion %s", 2757 2731 parser.file.toLatin1().constData(), parser.line_no, file.toLatin1().constData()); 2758 2732 return false; … … 2797 2771 return true; } 2798 2772 default: 2799 #ifdef QTSCRIPT_SUPPORT2800 {2801 QScriptValue jsFunc = eng.globalObject().property(func);2802 if(jsFunc.isFunction()) {2803 QScriptValueList jsArgs;2804 for(int i = 0; i < args.size(); ++i)2805 jsArgs += QScriptValue(&eng, args.at(i));2806 QScriptValue jsRet = jsFunc.call(eng.globalObject(), jsArgs);2807 if(eng.hasUncaughtException())2808 return false;2809 return qscriptvalue_cast<bool>(jsRet);2810 }2811 }2812 #endif2813 2773 fprintf(stderr, "%s:%d: Unknown test function: %s\n", parser.file.toLatin1().constData(), parser.line_no, 2814 2774 func.toLatin1().constData()); … … 3126 3086 } else if(type == "name") { 3127 3087 DWORD name_length = 1024; 3128 TCHARname[1024];3129 if (GetComputerName(name, &name_length))3130 ret = QString::from Utf16((ushort*)name, name_length);3088 name[1024]; 3089 if(GetComputerName(name, &name_length)) 3090 ret = QString::from); 3131 3091 } else if(type == "version" || type == "version_string") { 3132 3092 QSysInfo::WinVersion ver = QSysInfo::WindowsVersion; … … 3194 3154 if (place[var].isEmpty()) 3195 3155 return values("DIR_SEPARATOR", place); 3156 3157 3158 3196 3159 } 3197 3160 //qDebug("REPLACE [%s]->[%s]", qPrintable(var), qPrintable(place[var].join("::"))); -
branches/vendor/nokia/qt/current/qmake/project.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 49 49 #include <qmap.h> 50 50 #include <qmetatype.h> 51 52 #ifndef QT_BUILD_QMAKE_LIBRARY53 # define QTSCRIPT_SUPPORT54 #endif55 56 #ifdef QTSCRIPT_SUPPORT57 # include <qscriptengine.h>58 #endif59 51 60 52 QT_BEGIN_NAMESPACE … … 81 73 friend struct FunctionBlock; 82 74 83 #ifdef QTSCRIPT_SUPPORT84 QScriptEngine eng;85 #endif86 75 QStack<ScopeBlock> scope_blocks; 87 76 QStack<FunctionBlock *> function_blocks; … … 204 193 { return vars; } 205 194 195 196 197 198 206 199 QT_END_NAMESPACE 207 200 -
branches/vendor/nokia/qt/current/qmake/property.cpp
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/property.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** -
branches/vendor/nokia/qt/current/qmake/qmake.pri
r2 r556 14 14 generators/win32/msvc_nmake.cpp generators/projectgenerator.cpp \ 15 15 generators/win32/msvc_dsp.cpp generators/win32/msvc_vcproj.cpp \ 16 generators/win32/msvc_objectmodel.cpp 16 generators/win32/msvc_objectmodel.cpp \ 17 generators/symbian/symmake.cpp \ 18 generators/symbian/symmake_abld.cpp \ 19 generators/symbian/symmake_sbsv2.cpp \ 20 generators/symbian/initprojectdeploy_symbian.cpp 21 17 22 HEADERS += project.h property.h generators/makefile.h \ 18 23 generators/unix/unixmake.h meta.h option.h cachekeys.h \ … … 21 26 generators/xmloutput.h generators/win32/borland_bmake.h generators/win32/msvc_nmake.h \ 22 27 generators/win32/msvc_dsp.h generators/win32/msvc_vcproj.h \ 23 generators/win32/mingw_make.h generators/win32/msvc_objectmodel.h 28 generators/win32/mingw_make.h generators/win32/msvc_objectmodel.h \ 29 generators/symbian/symmake.h \ 30 generators/symbian/symmake_abld.h \ 31 generators/symbian/symmake_sbsv2.h \ 32 generators/symbian/epocroot.h \ 33 generators/symbian/initprojectdeploy_symbian.h 24 34 25 35 contains(QT_EDITION, OpenSource) { … … 47 57 qhash.cpp \ 48 58 qiodevice.cpp \ 49 qlist data.cpp \59 qlist.cpp \ 50 60 qlinkedlist.cpp \ 51 61 qlocale.cpp \ … … 54 64 qmetatype.cpp \ 55 65 qregexp.cpp \ 66 67 56 68 qstring.cpp \ 57 69 qstringlist.cpp \ … … 64 76 qvariant.cpp \ 65 77 qvector.cpp \ 66 qvsnprintf.cpp 78 qvsnprintf.cpp \ 79 qxmlstream.cpp \ 80 qxmlutils.cpp 67 81 68 82 HEADERS+= \ … … 80 94 qabstractfileengine.h \ 81 95 qfileinfo.h \ 82 qfileinfo_p.h \83 96 qglobal.h \ 84 97 qnumeric.h \ … … 92 105 qmetatype.h \ 93 106 qregexp.h \ 107 108 94 109 qstring.h \ 95 110 qstringlist.h \ … … 99 114 qurl.h \ 100 115 quuid.h \ 101 qvector.h 116 qvector.h \ 117 qxmlstream.h \ 118 qxmlutils.h 102 119 103 120 unix { … … 105 122 mac { 106 123 SOURCES += qcore_mac.cpp qsettings_mac.cpp 107 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10. 3 #enables weak linking for 10.3(exported)124 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10. (exported) 108 125 LIBS += -framework ApplicationServices 109 126 } … … 118 135 } 119 136 DEFINES *= QT_NO_QOBJECT 120 include($$QT_SOURCE_TREE/src/script/script.pri)121 137 } else { 122 138 CONFIG += qt 123 QT = core script139 QT = core 124 140 } 125 141 *-g++:profiling { -
branches/vendor/nokia/qt/current/qmake/qmake.pro
r2 r556 16 16 $$QT_SOURCE_TREE/src/corelib/tools \ 17 17 $$QT_SOURCE_TREE/src/corelib/kernel \ 18 18 19 $$QT_SOURCE_TREE/src/corelib/plugin \ 19 $$QT_SOURCE_TREE/src/corelib/io \ 20 $$QT_SOURCE_TREE/src/script 21 INCPATH += generators generators/unix generators/win32 generators/mac \ 22 $$QT_SOURCE_TREE/include $$QT_SOURCE_TREE/include/QtCore \ 23 $$QT_SOURCE_TREE/qmake $$QT_SOURCE_TREE/include/QtScript 20 $$QT_SOURCE_TREE/src/corelib/xml \ 21 $$QT_SOURCE_TREE/src/corelib/io 22 INCPATH += generators generators/unix generators/win32 generators/mac generators/symbian \ 23 $$QT_SOURCE_TREE/include $$QT_SOURCE_TREE/include/QtCore 24 24 include(qmake.pri) 25 25 -
branches/vendor/nokia/qt/current/qmake/qmake_pch.h
r2 r556 2 2 ** 3 3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 4 ** Contact: Qt Software Information ([email protected]) 4 ** All rights reserved. 5 ** Contact: Nokia Corporation ([email protected]) 5 6 ** 6 7 ** This file is part of the qmake application of the Qt Toolkit. … … 21 22 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 22 23 ** 23 ** In addition, as a special exception, Nokia gives you certain 24 ** additional rights. These rights are described in the Nokia Qt LGPL 25 ** Exception version 1.0, included in the file LGPL_EXCEPTION.txt in this 26 ** package. 24 ** In addition, as a special exception, Nokia gives you certain additional 25 ** rights. These rights are described in the Nokia Qt LGPL Exception 26 ** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. 27 27 ** 28 28 ** GNU General Public License Usage … … 34 34 ** met: http://www.gnu.org/copyleft/gpl.html. 35 35 ** 36 ** If you are unsure which license is appropriate for your use, please37 ** contact the sales department at qt-sales@nokia.com.36 ** If you 37 ** @nokia.com. 38 38 ** $QT_END_LICENSE$ 39 39 ** … … 54 54 #include <qfile.h> 55 55 //#include "winmakefile.h" 56 #include <qtextstream.h>56 #include <qtextstream.h> 57 57 //#include "project.h" 58 58 #include <qstring.h>
Note:
See TracChangeset
for help on using the changeset viewer.
