| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
API, Borland, MinGW, UNIX, Mac OS X.
|
|/ |
|
|\
| |
| |
| |
| | |
252bfd3 FindQt4: If Qt5 is in CMAKE_PREFIX_PATH, be sure to find Qt4 includes.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
4aa10cd FindQt4: Set the INTERFACE_QT_MAJOR_VERSION for Qt4::QtCore
|
| |/
| |
| |
| |
| |
| |
| | |
With a similar commit in Qt 5, this will error at CMake time if
an attempt is made to use
target_link_libraries(foo Qt4::QtCore Qt5::Core)
|
|/
|
|
| |
Provide the old QT4_FOUND for compatibility.
|
|
|
|
|
|
|
| |
The parent commit accidentally referenced QT_QMAKE_QMAKE_EXECUTABLE
which does not exist. Use QT_QMAKE_EXECUTABLE instead.
Reported-by: m.hergarden@euphoria-it.nl
|
|
|
|
|
|
|
|
|
| |
Wihtout this, if qmake binary is from Qt5 the FindQt4 fails even though
the Qt4 version of qmake would be installed as qmake-qt4.
On Archlinux this is the case.
Reviewed-by: Clinton Stimpson <clinton@elemtech.com>
|
|
|
|
|
| |
Qt can be configured in ways which disable certain modules. Make
sure we don't fail on that.
|
|
|
|
|
| |
This is a partial revert of commit c8ee07d0 (FindQt4: Add INTERFACE
includes and defines to Qt4 targets, 2012-12-31).
|
|
|
|
|
| |
All other properties we generate are config-specific, so it makes
sense to do so here too.
|
|
|
|
|
| |
When using QAxServer, ensure that the qtmain library is excluded
by reporting an error at CMake time if it is not.
|
|\
| |
| |
| |
| | |
c8ee07d FindQt4: Add INTERFACE includes and defines to Qt4 targets
|
| | |
|
|\ \
| |/
|/|
| |
| | |
4b9ec00 FindQt4: set QT_VERSION_* variables sooner.
|
| |
| |
| |
| |
| | |
Set QT_VERSION_* variables sooner so they can be set before
Qt4ConfigDependentSettings.cmake uses them.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
This means for example, that consumers can use:
target_link_libraries(foo ${QT_QTGUI_LIBRARIES})
instead of also needing to specify all 'public' dependencies:
target_link_libraries(foo ${QT_QTGUI_LIBRARIES} ${QT_QTCORE_LIBRARIES} )
when using the IMPORTED targets. Also populate the
IMPORTED_LINK_DEPENDENT_LIBRARIES property so CMake can help the linker
find shared library dependencies.
|
|\
| |
| |
| |
| | |
f80ccac OpenBSD: Add paths for Qt3/Qt4
|
| |
| |
| |
| |
| |
| |
| | |
Handle OpenBSD specific paths in Qt3/Qt4, allowing concurrent building
and installation. Some common programs are renamed with suffixes of
either 3 or 4. Also, allow qt3/qt4 installed under /usr/local to be
searched and recognized appropriately.
|
|/
|
|
| |
Thanks to Scott Bailey and Benjamin Kloster.
|
|
|
|
|
|
| |
This solves a lots of warnings, e.g. in the FindModulesExecuteAll test. If the
installed version on the system is rather old this may even lead to bugs, e.g.
https://bugs.gentoo.org/show_bug.cgi?id=436540
|
|
|
|
|
|
| |
...if the library file does not exist inside the .framework then do
not allow a library variable to be set to the path to the framework.
Force set it to NOTFOUND instead.
|
|\
| |
| |
| |
| | |
3252149 Fix casing of 'Qt' in docs, comments and user-visible strings.
|
| |
| |
| |
| |
| | |
QT (cue-tea) is Apple QuickTime.
Qt (cute) is the C++ framework.
|
|/
|
|
| |
Thanks to Petr Baloun for the patch.
|
|\
| |
| |
| |
| | |
1420691 Add new qt4_use_modules function.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Remove old search paths that aren't needed.
Keep using PATHS instead of HINTS because a Windows machine may have
a different Qt in its PATH and putting QTDIR and the registry entry
ahead of PATH could cause apps to fail when run.
|
| | |
|
|/
|
|
| |
Thanks to Dubrovskiy Viacheslav and Sergei Epifanov for patch.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ancient versions of CMake required else(), endif(), and similar block
termination commands to have arguments matching the command starting the
block. This is no longer the preferred style.
Run the following shell code:
for c in else endif endforeach endfunction endmacro endwhile; do
echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
egrep -z -v 'Tests/CMakeTests/While-Endwhile-' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Ancient CMake versions required upper-case commands. Later command
names became case-insensitive. Now the preferred style is lower-case.
Run the following shell code:
cmake --help-command-list |
grep -v "cmake version" |
while read c; do
echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g'
done >convert.sed &&
git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' |
egrep -z -v '^(Utilities/cm|Source/kwsys/)' |
xargs -0 sed -i -f convert.sed &&
rm convert.sed
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our Git commit hooks disallow modification or addition of lines with
trailing whitespace. Wipe out all remnants of trailing whitespace
everywhere except third-party code.
Run the following shell code:
git ls-files -z -- \
bootstrap doxygen.config '*.readme' \
'*.c' '*.cmake' '*.cpp' '*.cxx' \
'*.el' '*.f' '*.f90' '*.h' '*.in' '*.in.l' '*.java' \
'*.mm' '*.pike' '*.py' '*.txt' '*.vim' |
egrep -z -v '^(Utilities/cm|Source/(kwsys|CursesDialog/form)/)' |
egrep -z -v '^(Modules/CPack\..*\.in)' |
xargs -0 sed -i 's/ \+$//'
|
| |
|
|
|
|
|
| |
-refer to AUTOMOC from QT4_AUTOMOC
-mention how source file properties influence QT4_ADD_DBUS_INTERFACE
|
|\
| |
| |
| |
| | |
ad7c80c Added conditional for the phonon backend plugin.
|
| |
| |
| |
| | |
If on APPLE, the phonon backend plugin is set to phonon_qt7. If on WIN32, the phonon backend plugin is set to phonon_ds9. I did not add any for generic UNIXes as they could have a whole host of things. A more comprehensive script would actually attempt to detect which phonon plugins were installed. However, this is a simple fix for now that will work for most people.
|
| | |
|
|/ |
|
|
|
|
|
| |
Fixes bug #12915.
Thanks Laurent Rineau and Brad King for input.
|
| |
|
| |
|
|
|
|
|
| |
Use the new check_cxx_symbol_exists instead of check_symbol_exists.
Also remove a debug message from CheckSymbolExists.cmake.
|
|\
| |
| |
| |
| | |
702538e Qt4: Fix reference of undefined variable when detecting frameworks on Mac OS X
|
| | |
|
|/ |
|
| |
|
| |
|
|
|
|
| |
Put back some code for setting the QT_VERSION_* variables that wasn't supposed to be removed.
|