Commit Graph

63 Commits

Author SHA1 Message Date
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 aa300b237f Use const in generateWindowTitle() 2018-05-23 23:20:01 +02:00
Martchus 6727f97ac6 Allow querying capabilities of DBus notification daemon 2018-03-31 23:35:39 +02:00
Martchus f76d4044aa Support setting image and image path of DBus notifications 2018-03-18 03:07:03 +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 e6e968e4ea Fix locating Qt's translations under openSUSE 2018-02-10 20:06:45 +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 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 007c338388 Increase version (5.7.1 -> 5.7.2) 2017-08-30 23:00:57 +02:00
Martchus 64040170b4 Disable D-Bus notifications by default under MacOS 2017-08-06 00:39:30 +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 61a544d42f Make definitions for gui support project specific 2017-04-27 22:03:37 +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 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 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 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 28709de12b Require latest c++utilities 2017-02-09 16:48:42 +01:00
Martchus 74aa4316b1 Use std::make_unique provided by C++14 2017-02-05 21:03:01 +01:00
Martchus f50f35ddc8 Add German translation 2017-01-07 16:46:53 +01:00
Martchus aca86b0681 Load translations of dependencies, too 2017-01-07 16:09:38 +01:00
Martchus 60403202df Add function to convert QString to native filename 2016-12-21 00:51:11 +01:00
Martchus e5481f5f43 Add class to show notifications via D-Bus 2016-12-11 17:54:23 +01:00
Martchus 31ac09de87 Add prefix to PLATFORM_SPECIFIC_CAPSLOCK_DETECTION macro 2016-12-11 17:13:19 +01:00
Martchus 03b0a8f294 Provide 'edit-error' icon
Add templates for icons by the way
2016-11-30 20:57:21 +01:00
Martchus 6d623989a8 Declare all used Qt module public dependencies 2016-11-10 23:42:53 +01:00
Martchus e1a8a12670 Provide an imported target for libs 2016-11-10 23:42:53 +01:00
Martchus 5531450c0a Don't built-in icons already provided as fallback 2016-11-01 14:05:48 +01:00
Martchus b35e5311a9 Improve handling Svg support 2016-10-19 20:33:59 +02:00
Martchus c7b13d063c List scripts in project file
Maybe add install target for scripts later
2016-09-11 20:31:11 +02:00
Martchus 5d9b3e8be4 Improve error message of SettingsDialog 2016-09-03 20:19:17 +02:00
Martchus 58fad82c3b Support icons in SettingsDialog tabs 2016-08-31 23:38:35 +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 d97e112f0d Allow using static Qt libraries 2016-08-19 16:16:10 +02:00
Martchus 49e7ab25ce Generate config header in extra module 2016-07-27 21:38:57 +02:00
Martchus babb75a205 Attempt to link statically against Qt
Linking statically against Qt with CMake still doesn't work. Seems like
there is still some work to do on the Qt side. Patches from MSYS2 might
help.
2016-07-27 18:51:25 +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
Martchus 9137a63462 Improve documentation 2016-06-10 23:05:43 +02:00
Martchus cca4395fe6 Fix -Winconsistent-missing-override 2016-05-13 22:53:01 +02:00
Martchus 3957bd9c1c added version constraints 2016-04-25 22:19:23 +02:00
Martchus e3eb263962 refactored "recently opened files menu" 2016-04-19 01:38:21 +02:00
Martchus 36de73756b fixed some issues caused the build system changeings 2016-04-16 18:32:56 +02:00
Martchus 9cf5656efe reduce code duplication in build system
- get rid of qmake project file
- provide CMake modules for common tasks
- provide templates for *.desktop files
2016-04-16 02:11:20 +02:00
Martchus 323c3b8824 allow building without Qt Widgets specific features 2016-04-09 02:33:09 +02:00
Martchus 87fd94a2e0 improved settings dialog API 2016-04-04 14:49:40 +02:00
Martchus 4cca128180 link against X11 using find_package 2016-03-28 21:57:01 +02:00
Martchus bffe7b999c added target_link_libraries to static target
required to prevent include errors with Qt headers
2016-03-23 22:37:49 +01:00