Martchus
c48c669095
Make depending on QQC2 for Quick GUI a one-liner
2018-06-16 13:11:18 +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
1946816ce0
Enable QML debugging if build type is debug
2018-05-23 23:20:58 +02:00
Martchus
aa300b237f
Use const in generateWindowTitle()
2018-05-23 23:20:01 +02:00
Martchus
0619814654
Fix dependency version with GCC 8
2018-05-08 00:37:14 +02:00
Martchus
1b0cdc9878
Fix DBusNotification::image()
...
It is not possible to extract data from the QDBusArgument
anymore. So let's just make the NotificationImage become a
QDBusArgument itself and add it directly as hint.
2018-05-02 00:53:32 +02:00
Martchus
2525c37f00
Fix documentation of NotificationImage
2018-04-26 00:12:59 +02:00
Martchus
df76e333fa
Fix comments in JavaScript header templates
2018-04-07 19:02:04 +02:00
Martchus
9a90f6b99e
Fix definition of @META_PROJECT_VARNAME_UPPER@_NO_JSENGINE
2018-04-07 17:55:28 +02:00
Marius Kittler
dc799fb606
Include functional explicitely
2018-04-05 12:03:01 +02:00
Martchus
6727f97ac6
Allow querying capabilities of DBus notification daemon
2018-03-31 23:35:39 +02:00
Martchus
1f66e83209
Update translations
2018-03-24 17:04:49 +01:00
Martchus
c8f55a72b3
Apply clang-format from LLVM 6
2018-03-24 17:03:46 +01:00
Martchus
e477214cbc
Show link-time dependency versions in about dialog
2018-03-18 18:21:40 +01:00
Martchus
f76d4044aa
Support setting image and image path of DBus notifications
2018-03-18 03:07:03 +01:00
Martchus
ccca2f123a
Don't care about policy CMP0071 too much
...
Seems like CMake under Leap is too old so don't enforce
the policy (for now).
2018-03-13 19:57:44 +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
4980c8df95
Ensure generated sources are processed by AUTOMOC and AUTOUIC
2018-03-07 18:21:47 +01:00
Martchus
e6e968e4ea
Fix locating Qt's translations under openSUSE
2018-02-10 20:06:45 +01:00
Martchus
ad1e6d21ba
Prevent installing built-in Qt translations
2018-01-20 22:33:45 +01:00
Martchus
22639edfed
Force use of INTERFACE_LINK_LIBRARIES_RELEASE for any config
...
Ensures we're getting the correct transitive dependencies
for all static Qt modules regardless of the configuration.
2017-12-15 20:35:09 +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
591325aa44
Execute target for updating translations not by default
2017-10-16 09:56:35 +02:00
Martchus
b2e3506ff5
Fix adding public Qt modules in pkg-config
2017-10-08 19:40:51 +02:00
Martchus
d65835be50
Link only applications against static Qt plugins
...
* Which plugins should be included should only be decided
when building the final application and not before.
* Also prevents those libs from appearing in pkg-config
files.
2017-10-08 19:27:31 +02:00
Martchus
68b0e1a044
Revert removing translations
...
This reverts parts of commit "Apply tidy after updating to clang-format 5.0.0"
(afe3373896
).
2017-10-08 16:25:44 +02:00
Martchus
6a349e8ee1
Update translations
2017-10-07 22:12:19 +02:00
Martchus
da485f5702
Don't reset or apply option pages which haven't been shown
...
This makes the annoying hasBeenShown() check in each apply()
and reset() implementation unnecessary. It should not break
anything because if the page hasn't been shown there is nothing
to reset/apply anyways.
2017-09-27 00:20:43 +02: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
0e4f410e76
Fix formatting in description of isCapslockPressed()
2017-09-09 21:37:23 +02:00
Martchus
302831dca1
Add BEGIN_DECLARE_OPTION_PAGE_CUSTOM_CTOR
2017-09-09 21:36:30 +02:00
Martchus
ff4f495a5d
Make translations of dependencies always available
...
And not only if the project itself contains translations
2017-09-08 16:46:35 +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
b94c23f238
Distinguish exporting/enabling resources of static libs
...
Required because we now allow to provide dynamic libs as
dependencies of static libs
2017-08-31 02:14:52 +02:00
Martchus
007c338388
Increase version (5.7.1 -> 5.7.2)
2017-08-30 23:00:57 +02:00
Martchus
b45f2e7edf
Don't include static svg plugin if not using static Qt
2017-08-20 02:23:02 +02:00
Martchus
d441590274
Add documentation about D-Bus notification actions
2017-08-20 02:03:21 +02:00
Martchus
53f114b1bd
Replace 'inline constexpr' with only 'constexpr'
2017-08-17 18:11:15 +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
260b8217da
Use Svg module when linking statically against related plugins
...
Seems to be required, otherwise getting linker errors.
2017-08-11 22:13:44 +02:00
Martchus
7c6483f5a6
Link GUI apps against Cocoa integration plugin under MacOS
2017-08-06 00:44:20 +02:00
Martchus
bbee85ce07
Fix using static Qt without 'Static' prefix
2017-08-06 00:43:09 +02:00
Martchus
2d155e48ac
Avoid duplicate resource initialization
2017-08-06 00:41:00 +02:00
Martchus
e2bf82214d
Make translations optional
2017-08-06 00:40:11 +02:00
Martchus
64040170b4
Disable D-Bus notifications by default under MacOS
2017-08-06 00:39:30 +02:00
Martchus
3e72eadc00
Allow specifying options for lupdate
2017-08-01 10:47:27 +02:00