summaryrefslogtreecommitdiffstats
path: root/qmake
Commit message (Collapse)AuthorAgeFilesLines
* Fix misformatted license headers.Jason McDonald2009-09-011-11/+8
| | | | Reviewed-by: Trust Me
* Update tech preview license header.Jason McDonald2009-08-3140-520/+520
| | | | Reviewed-by: Trust Me
* Update license headers.Jason McDonald2009-08-1140-40/+40
| | | | Reviewed-by: Trust Me
* Do not crash qmake if MAKEFILE_GENERATOR is not defined in a loaded .pr* fileKeith Isdale2009-06-241-2/+7
| | | | | | | | If there is a issue loading the usual .pr* files do not crash qmake. Print out a useful warning if MAKEFILE_GENERATOR is not defined by a loaded .pr* file. Reviewed-by: mariusSO
* Update license headers as requested by the marketing department.Jason McDonald2009-06-1640-80/+80
| | | | Reviewed-by: Trust Me
* disable stdout buffering alltogetherOswald Buddenhagen2009-06-161-6/+3
| | | | | | | | having system-dependent bahavior is Not Nice (TM), and given that we do only printf()s of whole lines anyway, this should have no performance impact whatsoever. Reviewed-by: mariusSO
* Fixes crash of qmake on Windows Vista Business x64 (and undefinedRohan McGovern2009-06-161-0/+2
| | | | | | | | | | | | behavior on all versions of Windows). setvbuf handles its arguments differently on Unix and Windows. Windows uses the size parameter when the given buffer is NULL, which appears to violate C89/C99. Giving a size parameter of 0 with a NULL buffer caused qmake to crash on Windows Vista Business x64. Windows also can't set line buffering with setvbuf _at all_ according to the MSDN documentation, so don't bother calling it on Windows.
* Force line buffering for stdout so it stays in sync better with stderr ↵audiofanatic2009-06-151-0/+7
| | | | | | | | (which is unbuffered) Task-number: 254786 Merge-request: 610 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* do not make PWD and OUT_PWD have trailing slashes upon returning from a ↵Oswald Buddenhagen2009-06-111-6/+5
| | | | | | | | SUBDIRS target they don't have initially, either. Reviewed-by: mariusSO
* do not append trailing slash to OUT_PWD in nested pro-filesOswald Buddenhagen2009-06-111-2/+0
| | | | | | | | the top-level one doesn't have one, either, so this lead to inconsistent behavior depending on whether the pro was processed directly or from a SUBDIRS target. Reviewed-by: mariusSO
* remove strange no-opOswald Buddenhagen2009-06-111-1/+0
| | | | Reviewed-by: mariusSO
* remove dead codeOswald Buddenhagen2009-06-111-8/+0
| | | | | | seems it was never used since the initial checkin Reviewed-by: mariusSO
* link qmake without /DEBUG on WindowsJoerg Bornemann2009-06-051-1/+1
| | | | Reviewed-by: mariusSO
* Allow qmake to compile using it's .pro file.Jason Barron2009-06-031-1/+1
| | | | | | | | | | | | | This fixes a problem where qmake would not compile when it was built from it's .pro file because this method uses the pre-compiled header. This header was causing a compile error in qlocale.cpp because qtextstream.h was included and this includes qlocale.h. The problem in qlocale.cpp was that it uses a define called QLOCALE_CPP to enable extra functions in the class declaration, but the pre-compiled header was preventing the qlocale.h from being re-processed and therefore the function was never compiled in. Reviewed-by: Marius Storm-Olsen
* Remove the fixFilename() usage from the solution generatorMarius Storm-Olsen2009-05-291-1/+1
| | | | | | | | | | Only the Solution Generator was using the fixFilename() function, so under some circumstances the solution filename wouldn't find the correct vcproj file to include. This created a problem with network-chat.vcproj. Task-number: 254772 Reviewed-by: joao
* Fixed qmake writing targets into the root of the current drive whenRohan McGovern2009-05-261-1/+1
| | | | | | | | | | | | | | | | DESTDIR=./ and using Windows, nmake and shadow builds. qmake would canonicalize the DESTDIR of "./" to "". Then it would check if the original DESTDIR ended with "/", and if so, append it to the new DESTDIR, resulting in a DESTDIR of "/" - the root of the current drive. Don't do that. This bug doesn't occur with in-source builds because qmake detects that the source and build directories are the same directory and replaces the DESTDIR of "./" with "" before it reaches the buggy code. Autotest: included Reviewed-by: Lincoln Ramsay
* Use isNull() for strings instead of comparing against QString().Jesper Thomschütz2009-05-141-1/+1
| | | | | | foo == QString() should be foo.isNull(). Fixes 7 warnings in the Norwegian Breakfast Network Reviewed-by: Samuel
* Changed include file name to lowercase to be able to crosscompile win32-g++ ↵Denis Dzyubenko2009-04-281-1/+1
| | | | | | version from a Linux machine. Reviewed-by: trustme
* Missing debug .rc file with a clean shadow buildLincoln Ramsay2009-04-211-3/+15
| | | | | | | | | | | | When generating Windows Makefiles, qmake writes out a .rc file for each of debug and release (unless you've limited to just one build type). When doing a clean shadow build, the first .rc file is written into a directory that does not exist but the code was not handling the error case. The fix does 2 things. 1) Attempt to create the destination directory if we can't write the file. 2) Die with an error if we still can't write the file after doing #1. Reviewed-by: Marius Storm-Olsen
* qmake: additional compiler options were written twice into vcproj filesJoerg Bornemann2009-04-071-2/+0
| | | | | | | | In the function initCompilerTool we handled QMAKE_CXXFLAGS twice for every configuration (debug / release). The call of parseOptions before the if clause is enough. Reviewed-by: mariusSO
* fix QMAKE_VAR_FIRST_ expansion in compiler flagsOswald Buddenhagen2009-04-071-1/+1
| | | | | doesn't seem to be a terribly popular feature, given that nobody noticed this yet ...
* Small changes in qmake's fileFixifyJoão Abecasis2009-04-021-9/+3
| | | | | | | Removed dead code and simplified conditionals. This should not otherwise change behavior or output of qmake in any way. Reviewed-by: mariusSO
* Spring cleaning in qmake testsJoão Abecasis2009-04-023-5/+5
| | | | | | | | | | And some indentation fixes in qmake itself. Fixes indentation; TRUE => true; FALSE => false; #includes and #defines cleanup; removes dead code; comments... and somewhere along the way marked a function static. Reviewed-by: mariusSO
* cosmetic bug in qmake msvc_nmake generator fixedJoerg Bornemann2009-04-021-3/+3
| | | | | | | When generating nmake makefiles, the same inference rules were generated several times. Reviewed-by: mariusSO
* even more verbose debug outputOswald Buddenhagen2009-03-271-1/+1
|
* Long live Qt 4.5!Lars Knoll2009-03-2347-0/+27150