Commit Graph

544 Commits

Author SHA1 Message Date
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
Martchus 9741ff26ab Allow disabling install targets
Might be useful if install targets cause
problems, eg. under MacOS
2017-07-20 01:43:48 +02:00
Martchus d3de8e5c62 Don't append generated D-Bus files to sources
Allows to distinguish generated files for coverage
report
2017-07-09 23:45:17 +02:00
Martchus 37dc2f722f Add missing #include <functional> 2017-05-30 15:08:01 +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 1d49f41582 Fix marking Qt module deps as public 2017-04-22 20:57:57 +02:00
Martchus 6078f1221a Update translations 2017-03-29 00:23:02 +02:00
Martchus 4140cc3695 Uniform icons 2017-03-29 00:22:50 +02:00
Martchus c67db813ae Provide script to generate PNG icons from SVGs
Used to internally update PNGs of the different sizes
when altering the SVG icons.
2017-03-29 00:21:56 +02:00
Martchus 4463de1382 Add description to required_icons.sh script 2017-03-29 00:17:58 +02:00
Martchus 784781b409 Set 'MACOSX_BUNDLE' for GUI apps under MacOS
This makes it a GUI executable that can be launched from
the Finder. Not tested yet.
2017-03-29 00:17:26 +02:00
Martchus 263418b9d5 Provide header files to select Qt Script/QML
Allows supporting Qt Script and Qt QML as JavaScript
provider at the same time more conveniently
2017-03-14 23:24:04 +01:00
Martchus 8151d1c23a Fail if definition for web view provider missing 2017-03-14 22:57:08 +01:00
Martchus 14c3c7690a Provide header files to select Qt WebKit/WebEngine
Allows supporting Qt WebKit and Qt WebEngine at the
same time more conveniently
2017-03-14 22:45:33 +01:00
Martchus 93245e9e0c Handle errors when applying Qt settings 2017-03-06 22:13:58 +01: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 ad6f040881 Fix typo 2017-03-01 18:20:14 +01:00
Martchus 12133a26fd Make QM_FILES only additional cond for built-in translations
There might be external translations to be built-in (eg. Qt
translations).
2017-02-26 18:42:08 +01:00
Martchus f6e1f6adcf Only include Qt translations when building the final app
Otherwise the files are also included for each single
library unnecessarily increasing the binary size
2017-02-26 18:40:06 +01:00
Martchus aae9fd5c85 Fix messages in QtGuiConfig 2017-02-20 20:04:33 +01:00
Martchus 2777498f6d Allow customizing install dir for Qt plugins 2017-02-20 20:03:57 +01:00
Martchus e8b061737c Fix typo 2017-02-11 02:56:28 +01:00
Martchus 48f0a19554 Do not built-in icon themes when building libs
Only including the list of icons required by the final
application should be sufficient as it is supposed to
contain all relevant icons from dependencies, too.
2017-02-11 02:56:19 +01:00