Files
odfstudio/bin
Michael Weghorn f8be1b7384 qtcreator: Specify C++ std version using CONFIG qmake var
Extract the C++ standard version to use that is specified
by a `-std=<version>` or `-std:<version>` compiler flag,
and set that via "CONFIG += <version>" in the .pro files
used by Qt Creator.

This makes the Clang Code Model use the correct mode
and no longer complain about `char8_t` after the
switch to C++20 in my Windows development setup
in Qt Creator:

> accessibletabbarpagelist.hxx:22:10: In included file: use of undeclared identifier 'char8_t'
> stringutils.hxx:252:31: error occurred here

The previous way of specifying this via
`QMAKE_CXXFLAGS` as introduced in

    commit 92c03d9bf6
    Author: Michael Weghorn <m.weghorn@posteo.de>
    Date:   Fri Jun 7 21:44:03 2019 +0200

        qtcreator: Take over '-std=...' from CXXFLAGS

appears to not (no longer?) work at least with Qt Creator 11.0.3
on Windows.

On the contrary however, setting only `CONFIG` and
not `QMAKE_CXXFLAGS` causes the exact same problem
in my Linux setup.

Therefore, set both qmake variables.

Note that there is a specific set of accepted values
for the the `CONFIG` variable in .pro files [1],
but at least "c++20" and "c++latest" are accepted
and have the expected meaning, so that should be
fine for now.

[1] https://doc.qt.io/qt-6/qmake-variable-reference.html#config

Change-Id: Idc75b74300c7bdd0f6193fcfc1758b536728b887
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158053
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
2023-10-16 18:29:23 +02:00
..
2020-09-26 13:29:31 +02:00
2023-05-19 13:45:29 +02:00
2021-05-13 17:03:26 +02:00
…
…
2022-03-08 17:01:26 +01:00
…
2022-09-10 15:34:54 +02:00
2023-07-10 12:44:38 +02:00
2021-12-06 20:54:26 +01:00
2021-10-09 20:19:36 +02:00

Tools and Non-Build Scripts

Tools and scripts mostly not used during the build

This direction has a number of key pieces (?) that are used during the build, or are simply generally useful. One example is bin/run.

This utility can be used to run the executables in this folder:

workdir/LinkTarget/Executable

Format of the usage is:

./bin/run application [parameters]|--list|--help

Use --list (same as -list or -l) to get the list of executables Use --help (same as -help or -h) to get this help

Another example is:

bin/find-german-comments <directory>

which will try to detect and extract all the German comments in a given source code hierarchy / directory.

Please note that the associated issue tdf#39468 is now marked as RESOLVED/FIXED, so don't expect many German comments.