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
Martchus
26b8f069c6
Improve CMake modules
2017-02-11 02:31:43 +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
a2edd64dbd
Give generated qrc files a unique name
2017-02-09 23:34:13 +01:00
Martchus
557c5d5af9
Fix dependency of res file for built-in translations
2017-02-09 16:20:15 +01:00
Martchus
0ccee40fa4
Check for Qt 5.6 or higher by default
...
which is required by qtutilities itself and most other
projects eg. Tag Editor
2017-02-06 21:35:08 +01:00
Martchus
aca86b0681
Load translations of dependencies, too
2017-01-07 16:09:38 +01:00
Martchus
3c2c8ed650
Fix reverse lookup for pc and 'StaticQt5::'
2016-12-13 20:23:20 +01:00
Martchus
653d954a54
Fix use of static Qt 5 plugins
2016-11-26 21:58:42 +01:00
Martchus
70a9d68555
Use StaticQt5::* for static Qt5 imported targets
...
Fallback to old version (Qt5::static::*) if not found
2016-11-12 02:24:06 +01:00
Martchus
c443250989
Add dependencies of localization target correctly
2016-11-12 02:08:02 +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
d9380d024e
Allow building shared and static libs at the same time
...
Use 'Static'-prefixed CMake modules provided by patched
mingw-w64-qt5 packages
2016-10-29 00:26:06 +02:00
Martchus
b35e5311a9
Improve handling Svg support
2016-10-19 20:33:59 +02:00
Martchus
812f2d2afd
Fix indentation of QtLinkage.cmake
2016-09-11 23:11:19 +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
924c3b9f61
Allow including icon themes under another name
2016-08-27 15:01:04 +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
7edccd9f75
Move options for GUI to BasicConfig
2016-08-14 16:51:19 +02:00
Martchus
b5bd368c5c
Load translations also for Qt modules not in qtbase
2016-07-27 21:52:01 +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
c66d1513f9
Using option for CMake options
2016-07-11 19:52:52 +02:00
Martchus
d94f4e7dd8
Don't require WebView/JS provider if none explicitely specified
2016-07-09 23:52:43 +02:00
Martchus
10726b4dee
also update TS files via CMake
2016-04-24 20:53:14 +02:00
Martchus
3ccbb07bbf
fixed CMake modules {Js,WebView}ProviderConfig
2016-04-21 23:58:52 +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