Martchus
2dc2e6f4c2
Prevent crash by instantiating QString explicitely
2019-06-17 00:43:44 +02:00
Martchus
7e8766cdb6
Allow to debug locating of translations
2019-06-16 16:56:38 +02:00
Martchus
18e3a907af
Adapt to changes in c++utilities
2019-06-12 20:39:02 +02:00
Martchus
b3e7c390d9
Have everything in one top-level namespace
2019-06-10 21:57:46 +02:00
Martchus
72d0e9e6e0
Adapt search path for translations to new config system
2019-05-05 18:37:24 +02:00
Martchus
8c9d834b68
Split style arguments
2019-05-04 23:34:19 +02:00
Martchus
df120f4b73
Add CLI argument to set Qt scene graph renderer
2019-05-04 23:25:33 +02:00
Martchus
4de0685c84
Apply clang-format
2019-05-04 21:01:18 +02:00
Martchus
850101dce6
Support installing multiple configurations within the same prefix
2019-05-03 01:03:41 +02:00
Martchus
3a1af588ce
Fix condition to apply qqc2 style
2018-12-15 23:54:00 +01:00
Martchus
4ed713e6a0
Simplify code for setting widgets style
2018-12-15 23:53:20 +01:00
Martchus
b7b4467326
Use braces for #if defined(...)
2018-12-08 19:08:42 +01:00
Martchus
d607cb046e
Apply default QQC2 style also when quick-gui arg not present
...
So it works also under Android (where the usual argument parsing
might not be applied).
2018-09-18 21:49:20 +02:00
Martchus
c6af8c762e
Fix setting default QQC2 style
2018-07-15 19:44:35 +02:00
Martchus
d0e81c6a4a
Improve coding style in QtConfigArguments
2018-06-16 13:20:14 +02:00
Martchus
17a99c7bd7
Set default QQ2 style for Android and Windows
2018-06-16 13:19:00 +02:00
Martchus
5c6938ff14
Set default
2018-06-16 13:18:05 +02:00
Martchus
5d490ed908
Document environment variables and style examples for Qt config
2018-06-16 13:17:05 +02:00
Martchus
b7f2ce0f10
Allow to overriding Qt Quick Controls 2 style
...
Make it an extra function in the header so the utilities
don't depend on the Qt Quick Controls 2 library (just for
one function call).
2018-06-16 13:10:19 +02:00
Martchus
6be2f87988
Use Argument::varValueCount to prevent warning
2018-06-05 22:49:45 +02:00
Martchus
571c2f8a26
Fix missing #includes
2018-06-05 22:49:17 +02:00
Martchus
ac0e8967e4
Allow passing '-qmljsdebugger'
...
This is a bit hacky because the arg parser
will read it as argument '-q' with the specified
value 'mljsdebugger...'. Shouldn't be a problem
though because we don't really read the value on
our own.
2018-05-23 23:24:56 +02:00
Martchus
c8f55a72b3
Apply clang-format from LLVM 6
2018-03-24 17:03:46 +01:00
Martchus
0409b77831
Split Qt-specific config from other config
...
So adding Qt-specific config does not require a change
in c++utilities anymore.
2018-03-07 18:22:53 +01:00
Martchus
29a2f993a3
Configure static Qt Widget style plugins
...
* Fix missing "Vista style" in static, Qt 5.10 based
Windows build
* Required since the platform styles have been
"pluginized" in Qt 5.10
* See 4f3249f32d
2017-12-15 20:22:29 +01:00
Martchus
afe3373896
Apply tidy after updating to clang-format 5.0.0
...
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:45:49 +02:00
Martchus
39cb21b5a9
Use QStringBuilder consistently in resources.cpp
2017-09-07 17:32:07 +02:00
Martchus
bf1519d357
Improve handling static Qt plugins
...
* Only link targets using static Qt Gui/Widgets/Quick
against static plugins since currently only GUI-related
plugins are relevant
* Don't require to link explicitely against the related
module (eg. Qt Svg for the Svg icon engine) because the
imported target of the plugin should pull all required
dependencies
* Add option for linking against static Qt image format
plugins
* Link GUI applications using static Qt Gui/Widgets/Quick
against the static X11 platform integration plugin if it
is available
2017-09-03 18:03:41 +02:00
Martchus
cdd84520da
Prevent warnings when English translations can not be load
...
English translation files are built-in and usually only used
for plural forms. Hence the files are often empty and the
warnings about them are more misleading than helpful most of
the time.
TODO: Find a way to distinguish between translations
which are supposed to be empty and missing/invalid
translations.
2017-08-15 01:08:08 +02:00
Martchus
7c6483f5a6
Link GUI apps against Cocoa integration plugin under MacOS
2017-08-06 00:44:20 +02:00
Martchus
0599eb354d
Apply clang-format
2017-05-04 22:46:37 +02:00
Martchus
2dcbc02f4b
Apply clang-format
2017-05-01 03:16:25 +02:00
Martchus
61a544d42f
Make definitions for gui support project specific
2017-04-27 22:03:37 +02:00
Martchus
4140cc3695
Uniform icons
2017-03-29 00:22:50 +02:00
Martchus
bd5c30c582
Update doc about functions to load translation
2017-03-06 22:08:45 +01:00
Martchus
ebf76ab4cf
Add high res edit icons
2017-03-01 23:29:40 +01:00
Martchus
0c34b456f0
Enable high DPI pixmap support in all applications
2017-03-01 23:24:47 +01:00
Martchus
8f2e3f0476
Add macro to auto init resources of static deps
...
Generated macro code is made available via config
header implemented in c++utilities
2017-02-11 02:04:12 +01:00
Martchus
aca86b0681
Load translations of dependencies, too
2017-01-07 16:09:38 +01:00
Martchus
03b0a8f294
Provide 'edit-error' icon
...
Add templates for icons by the way
2016-11-30 20:57:21 +01:00
Martchus
653d954a54
Fix use of static Qt 5 plugins
2016-11-26 21:58:42 +01:00
Martchus
58d762b7ee
Improve error message in loadApplicationTranslationFile()
2016-10-05 23:00:51 +02:00
Martchus
7f9afcda73
Fix decoration for static builds
...
- Also fix finding static web view and JavaScript provider
2016-08-29 15:41:21 +02:00
Martchus
9e61cf8e18
Add option for built-in SVG icon support
2016-08-19 22:37:43 +02:00
Martchus
55ad0b4de1
Improve icons
...
- Provide fallback for Qt icon
- Ensure default search paths are not overwritten
2016-08-17 20:05:48 +02:00
Martchus
292b0eae30
Allow setting Qt platform theme via argument
2016-08-16 19:35:40 +02:00
Martchus
de98b88f4a
Improve Qt settings
...
Setting font and icon theme doesn't work yet, not sure
about locale
2016-08-14 22:44:25 +02:00
Martchus
b5bd368c5c
Load translations also for Qt modules not in qtbase
2016-07-27 21:52:01 +02:00
Martchus
30f53e819c
Fix loading ressources
...
Still TODO: Load translations for modules not in qtbase
2016-07-27 18:52:59 +02:00
Martchus
5a0eba3726
Allow built-in translations and icons
...
- Allow to built-in qm files for translations
using the Qt resource system
- Allow to built-in required icons from specified
icon themes using the Qt resource system
- Provide bash script to determine required icons
2016-07-16 23:12:02 +02:00