| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If files for deployment for windows ce are missing we get an error
message now. Wilcards have to behandled special because
QFileInfo::exists() does not work with wildcards.
QFileInfo::absoluteFilePath() does work with wildcards
Reviewed-by: Mauricek
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
can not be found change that behavior to warn by default.
Currently the default behavior of include() in a .pro file is not to
warn if the supplied file argument can not be found which can lead to
hard to find build errors. The include() will now,by default, warn if
the specified file can not be found.
If a warning is not required because the included file is optional then
example use in the .pro file:
include(SomePriFile.pri", "", true)
Task-number:259398
Reviewed-by:Marius Storm-Olsen
|
|
|
|
|
|
|
|
|
|
| |
When qmake run with the -project option to generate a .pro for the
project it is possible that the generated .pro file will need to be
edited and add variables such as "QT" to specify what QT modules
the project needs. To hints to qmake's help and HTML documentation to
that effect.
Reviewed-by: Marius Storm-Olsen
|
| |
|
|
|
|
|
|
|
|
| |
This makes Qt work on QNX 6.4.
* no q3support, no phonon
* no QSharedMemory, no QSystemSemaphore, no QProcess
Reviewed-By: Robert Griebl
|
|
|
|
|
|
|
|
| |
qmake now uses a few of the files from the 'codecs' directory so add
that directory to the VPATH directory such that building qmake using
this .pro file is possible.
Reviewed-by: TrustMe
|
|
|
|
|
|
|
|
| |
The header file should be looked up relative to the directory of the
compilation unit and not qmake's current directory or the like. Simplified
the logic slightly to achieve that.
Reviewed-by: João Abecasis <joao@abecasis.name>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- don't duplicate slashes during path concatenation
- always use forward slashes when dealing with Option::output_dir
- rely on Option::output_dir being normalized at all times
still a *very* long way to go, for which we have no time now.
Reviewed-by: mariusSO
|
| |
|
|
|
|
|
|
|
|
|
|
| |
with qstring.
The qstring unicode conversion functions used to have its own
implementation, which did the same as QUtf*Codecs, so with the change
all of them will share the same implementation.
Reviewed-by: Thiago Macieira
|
|
|
|
|
|
|
|
|
|
| |
The documentation states "The default deployment target path for
Windows CE is %CSIDL_PROGRAM_FILES%\target, which usually gets expanded
to \Program Files\target."
Now this statement is true.
Task-number: 257053
Reviewed-by: mauricek
|
|
|
|
|
|
|
| |
Also, QString::fromUtf16() -> QString::fromWCharArray()
Merge-request: 604
Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
|
|\
| |
| |
| |
| | |
Conflicts:
tests/auto/qsqldatabase/tst_databases.h
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Reviewed-by: Trust Me
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
(which is unbuffered)
Task-number: 254786
Merge-request: 610
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
demos/boxes/glshaders.cpp
src/gui/graphicsview/qgraphicsitem.cpp
tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp
tools/linguist/shared/cpp.cpp
translations/linguist_ja.qm
translations/qt_ru.qm
|
| |
| |
| |
| |
| |
| |
| |
| | |
SUBDIRS target
they don't have initially, either.
Reviewed-by: mariusSO
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| | |
Reviewed-by: mariusSO
|
| |
| |
| |
| |
| |
| | |
seems it was never used since the initial checkin
Reviewed-by: mariusSO
|
| |
| |
| |
| | |
Reviewed By: andy
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
Conflicts:
src/3rdparty/phonon/qt7/mediaobject.mm
src/3rdparty/phonon/qt7/quicktimevideoplayer.mm
src/gui/text/qfontengine_win.cpp
tools/linguist/shared/cpp.cpp
|
| |
| |
| |
| | |
Reviewed-by: mariusSO
|
| |
| |
| |
| |
| | |
Merge-request: 395
Reviewed-by: Marius Storm-Olsen <marius@trolltech.com>
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
Conflicts:
src/opengl/gl2paintengineex/qpaintengineex_opengl2.cpp
tests/auto/qgraphicswidget/tst_qgraphicswidget.cpp
tests/auto/selftests/expected_skip.txt
tests/auto/selftests/tst_selftests.cpp
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| | |
Conflicts:
tests/auto/qtreeview/tst_qtreeview.cpp
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
|\ \
| |/
| |
| |
| | |
Conflicts:
tools/macdeployqt/shared/shared.cpp
|
| |
| |
| |
| |
| |
| | |
foo == QString() should be foo.isNull(). Fixes 7 warnings in the Norwegian Breakfast Network
Reviewed-by: Samuel
|
| |
| |
| |
| |
| |
| |
| | |
The private class was already declared and defined in the qfileinfo.cpp
file.
Reviewed-by: thiago
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
version from a Linux machine.
Reviewed-by: trustme
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/gui/graphicsview/qgraphicsitem.cpp
tools/qdoc3/test/assistant.qdocconf
tools/qdoc3/test/designer.qdocconf
tools/qdoc3/test/linguist.qdocconf
tools/qdoc3/test/qmake.qdocconf
tools/qdoc3/test/qt-build-docs.qdocconf
tools/qdoc3/test/qt.qdocconf
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
Conflicts:
src/gui/graphicsview/qgraphicsitem.cpp
src/gui/graphicsview/qgraphicsitem_p.h
src/gui/graphicsview/qgraphicsscene.cpp
src/gui/painting/qtransform.cpp
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
doesn't seem to be a terribly popular feature, given that nobody noticed
this yet ...
|
|\ \
| |/
| |
| |
| | |
Conflicts:
tools/linguist/shared/profileevaluator.cpp
|
| |
| |
| |
| |
| |
| |
| | |
Removed dead code and simplified conditionals. This should not otherwise
change behavior or output of qmake in any way.
Reviewed-by: mariusSO
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|