Qt Base (Core, Gui, Widgets, Network, ...)
Go to file
Alexandru Croitor 5f856a6d0c pro2cmake: Handle if() conditions with pyparsing
Previously we used a regular expression that matched parentheses,
but the regexp didn't match the parantheses in a balanced way
if there was more than one pair.

Instead use a helper function that uses pyparsing to match
balanced parantheses, and removes the if keyword, leaving
just the nested expression.

Change-Id: Ie621e6a305e57aa411838288599366ccfba063cc
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Qt CMake Build Bot
2019-09-23 05:28:05 +00:00
bin Merge branch 'wip/qt6' into wip/cmake 2019-08-15 16:53:19 +02:00
cmake Create module tools packages (config files) automatically 2019-09-22 10:29:28 +00:00
coin coin: increase the timeout between output for all 2019-09-03 11:49:07 +00:00
config.tests Merge branch 'wip/qt6' into wip/cmake 2019-08-15 16:53:19 +02:00
dist Merge remote-tracking branch 'origin/5.12' into dev 2019-06-25 13:04:27 +02:00
doc Merge remote-tracking branch 'origin/wip/qt6' into wip/cmake 2019-07-11 17:17:51 +02:00
examples Update public CMake macros' version 2019-08-23 10:04:30 +00:00
lib
mkspecs Merge remote-tracking branch 'origin/5.13' into dev 2019-08-01 01:00:10 +02:00
qmake Use pre-compiled headers when building Qt with cmake 2019-09-11 08:25:54 +00:00
src Create module tools packages (config files) automatically 2019-09-22 10:29:28 +00:00
tests Fix for getting windows running tests 2019-09-17 17:11:59 +00:00
util pro2cmake: Handle if() conditions with pyparsing 2019-09-23 05:28:05 +00:00
.gitattributes
.gitignore Merge remote-tracking branch 'origin/wip/qt6' into wip/cmake 2019-07-11 17:17:51 +02:00
.qmake.conf Merge remote-tracking branch 'origin/dev' into wip/qt6 2019-08-06 12:24:37 +02:00
.tag
CMakeLists.txt Create module tools packages (config files) automatically 2019-09-22 10:29:28 +00:00
INSTALL
LICENSE.FDL
LICENSE.GPL2
LICENSE.GPL3
LICENSE.GPL3-EXCEPT
LICENSE.LGPL3
LICENSE.LGPLv3
LICENSE.QT-LICENSE-AGREEMENT-4.0
config_help.txt Add -qtlibinfix-plugins for renaming Qt plugins according to QT_LIBINFIX 2019-05-16 06:22:25 +00:00
configure cmake: configure defaults to ninja, support -developer-mode 2019-09-11 08:30:50 +00:00
configure.bat
configure.cmake Fix mapping of features to private features 2019-07-22 08:29:33 +00:00
configure.json Merge branch 'wip/qt6' into wip/cmake 2019-08-15 16:53:19 +02:00
configure.pri Merge remote-tracking branch 'origin/5.12' into 5.13 2019-07-12 12:23:29 +02:00
dependencies.yaml Re-add dependencies.yaml so repos outside qt5 can be built with Coin 2019-09-19 17:07:36 +00:00
header.BSD
header.COMM
header.FDL
header.GPL
header.GPL-EXCEPT
header.LGPL
header.LGPL-NOGPL2
header.LGPL-ONLY
header.LGPL3
header.LGPL3-COMM
header.MIT
qtbase.pro
sync.profile