lxde/liblxqt.git
2 years agoRelease 0.11.0: Add changelog 0.11.0
Alf Gaida [Fri, 23 Sep 2016 22:43:41 +0000 (00:43 +0200)] 
Release 0.11.0: Add changelog

2 years agoBump version ot 0.11.0 (#105)
Alf Gaida [Fri, 23 Sep 2016 21:08:39 +0000 (23:08 +0200)] 
Bump version ot 0.11.0 (#105)

2 years agoSettings: Make use of reverse_iterator conditional
Palo Kisa [Mon, 19 Sep 2016 06:52:46 +0000 (08:52 +0200)] 
Settings: Make use of reverse_iterator conditional

...as the reverse_itrators etc. were added in Qt v5.6.

2 years agoApplication: Add <cerrno> include
Palo Kisa [Mon, 19 Sep 2016 06:42:01 +0000 (08:42 +0200)] 
Application: Add <cerrno> include

2 years agoSettings: Add "homemade" XDG_CONFIG_DIRS support
Palo Kisa [Tue, 23 Aug 2016 20:46:10 +0000 (22:46 +0200)] 
Settings: Add "homemade" XDG_CONFIG_DIRS support

The LXQt::Settings uses the Qt's QSettings which doesn't support the
xdg spec regarding th XDG_CONFIG_DIRS ->
https://bugreports.qt.io/browse/QTBUG-34919.

This commit adds a workaround by searching the directories for
system wide configuration file and if found, all keys from it are
copied into the user configuration file.

2 years agoSettings: unify duplicated code
Palo Kisa [Tue, 23 Aug 2016 11:13:18 +0000 (13:13 +0200)] 
Settings: unify duplicated code

2 years agoAdd README.md
Peter Mattern [Mon, 5 Sep 2016 14:50:03 +0000 (16:50 +0200)] 
Add README.md

2 years agotranslations: Change default translations repository
Palo Kisa [Fri, 12 Aug 2016 07:36:31 +0000 (09:36 +0200)] 
translations: Change default translations repository

https://github.com/lxde/translations.git -> https://github.com/lxde/lxqt-l10n.git

2 years agoUpdate DBus Notify method annotation name
Luís Pereira [Thu, 4 Aug 2016 14:23:33 +0000 (15:23 +0100)] 
Update DBus Notify method annotation name

Just following moc suggestion. And making a warning go away.

2 years agoFix lupdate warning missing Q_OBJECT macro
Luís Pereira [Wed, 3 Aug 2016 15:34:08 +0000 (16:34 +0100)] 
Fix lupdate warning missing Q_OBJECT macro

We don't need to add the Q_OBJECT macro. Just use the
Q_DECLARE_TR_FUNCTIONS macro.

2 years agoReplaces deprecated QStyleOptionViewItemV4
Luís Pereira [Tue, 2 Aug 2016 14:35:46 +0000 (15:35 +0100)] 
Replaces deprecated QStyleOptionViewItemV4

QStyleOptionViewItemV4 is just a synonym for QStyleOptionViewItem.
Cleaner builds.

2 years agoDon't lock the screen when it's already locked.
Luís Pereira [Fri, 1 Jul 2016 10:58:45 +0000 (11:58 +0100)] 
Don't lock the screen when it's already locked.

The status of the screensaver wasn't taken into account when locking it.
Now we only lock it if it's not already locked. This way we don't get the
annoying error message stating that there was an error starting the
screensaver.

Part of the code is taken from the Chromium project. Adapted to fit our
purposes.

2 years agolxqtscreensaver: Makes it a opaque pointer class
Luís Pereira [Thu, 30 Jun 2016 19:01:04 +0000 (20:01 +0100)] 
lxqtscreensaver: Makes it a opaque pointer class

It helps with where the implementation details of a library may be hidden
from its users and changes to the implementation can be made to a library
without breaking binary compatibility.

2 years agoGridLayout: Store current animation flag
Palo Kisa [Thu, 23 Jun 2016 07:48:35 +0000 (09:48 +0200)] 
GridLayout: Store current animation flag

2 years agolxqtgridlayout: Move private class definition
Palo Kisa [Thu, 23 Jun 2016 07:45:28 +0000 (09:45 +0200)] 
lxqtgridlayout: Move private class definition

2 years agoHtmlDelegate: Take layoutDirection into account
Palo Kisa [Mon, 27 Jun 2016 10:02:22 +0000 (12:02 +0200)] 
HtmlDelegate: Take layoutDirection into account

With this we will correctly support RightToLeft layout direction.

2 years agoGridLayout: Take layoutDirection into account
Palo Kisa [Wed, 22 Jun 2016 20:43:43 +0000 (22:43 +0200)] 
GridLayout: Take layoutDirection into account

With this we will correctly support RightToLeft layout direction.

2 years agoapplication: Correct signal handling & clean-up (#72)
palinek [Sun, 26 Jun 2016 18:46:28 +0000 (20:46 +0200)] 
application: Correct signal handling & clean-up (#72)

2 years agolxqtpower: Removes unused stuff
Luís Pereira [Wed, 1 Jun 2016 22:35:18 +0000 (23:35 +0100)] 
lxqtpower: Removes unused stuff

Left behind stuff.

2 years agoSingleApplication: Only create an DBus adaptor when needed
Luís Pereira [Tue, 31 May 2016 20:34:48 +0000 (21:34 +0100)] 
SingleApplication: Only create an DBus adaptor when needed

Save an allocation and helps static analyzers.

2 years agoNotificationPrivate: Fixes programming typo
Luís Pereira [Wed, 25 May 2016 19:23:47 +0000 (20:23 +0100)] 
NotificationPrivate: Fixes programming typo

Automatic casts tricked the compiler.

2 years agoDon't set icon theme name
Palo Kisa [Fri, 20 May 2016 11:34:15 +0000 (13:34 +0200)] 
Don't set icon theme name

We don't need/want to handle global settings change. lxqt-qtplugin is handling that.

2 years agoconfigdialog: Update icons in ThemeChanged event
Palo Kisa [Fri, 20 May 2016 08:49:04 +0000 (10:49 +0200)] 
configdialog: Update icons in ThemeChanged event

We don't need/want to handle global settings change. lxqt-qtplugin is handling that.
We just need to know that the theme was changed.

2 years agolxqtpower: Add suspend and hibernate to ConsoleKit2 provider
Thomas Masper [Thu, 19 May 2016 22:57:09 +0000 (00:57 +0200)] 
lxqtpower: Add suspend and hibernate to ConsoleKit2 provider

Fixes lxde/lxqt#939

2 years agoLXQtTranslateTs.cmake: Enable PULL_TRANSLATIONS by default
Palo Kisa [Tue, 17 May 2016 20:29:38 +0000 (22:29 +0200)] 
LXQtTranslateTs.cmake: Enable PULL_TRANSLATIONS by default

2 years agoLXQtTranslateTs.cmake: Use/update template in remote repo
Palo Kisa [Mon, 16 May 2016 12:49:24 +0000 (14:49 +0200)] 
LXQtTranslateTs.cmake: Use/update template in remote repo

...if possible

2 years ago.gitignore: Cleanup
Palo Kisa [Sun, 15 May 2016 21:54:05 +0000 (23:54 +0200)] 
.gitignore: Cleanup

2 years agobuild: Use external translations
Palo Kisa [Sun, 15 May 2016 21:52:59 +0000 (23:52 +0200)] 
build: Use external translations

2 years agots-files removal (#90)
Alf Gaida [Sat, 14 May 2016 11:18:37 +0000 (13:18 +0200)] 
ts-files removal (#90)

2 years agoGridLayout: Fix memory leak
Palo Kisa [Thu, 12 May 2016 08:13:10 +0000 (10:13 +0200)] 
GridLayout: Fix memory leak

Qt docs for QLayout::AddItem(): "Note: The ownership of item is transferred
to the layout, and it's the layout's responsibility to delete it."

2 years agoMerge branch 'icon-theme-fallback'
Luís Pereira [Fri, 6 May 2016 16:38:09 +0000 (17:38 +0100)] 
Merge branch 'icon-theme-fallback'

* icon-theme-fallback:
  Print warning messages when using the fallback Icon Theme
  Use LXQT_DATA_DIR for fallback icon theme search path
  Sets Oxygen as the only fallback icon theme

2 years agotranslations: Fix external translations logic
Luís Pereira [Wed, 27 Apr 2016 15:50:16 +0000 (16:50 +0100)] 
translations: Fix external translations logic

- Don't try to remove non existing files (If the file doesn't exists
ex_result will contain an error message and fail.)

- Make sure git init doesn't fail (If ${TR_TRANSLATION_DIR} doesn't
exist, git init will fail.)

2 years agotranslations: Add external translations support
Palo Kisa [Tue, 12 Jan 2016 08:44:22 +0000 (09:44 +0100)] 
translations: Add external translations support

Translations can now be pulled from external git repository, if enabled
by PULL_TRANSLATIONS.

2 years agoMerge branch 'improve-iterator-performance'
Luís Pereira [Thu, 28 Apr 2016 16:00:49 +0000 (17:00 +0100)] 
Merge branch 'improve-iterator-performance'

* improve-iterator-performance:
  Use const references with the foreach iterator
  SettingsCache: Improve performance

2 years agoconfigdialog: Fix icon bar sizing
Palo Kisa [Tue, 26 Apr 2016 11:19:16 +0000 (13:19 +0200)] 
configdialog: Fix icon bar sizing

2 years agoconfigdialog: fix size of PageSelectWidget (#83)
tsujan [Mon, 25 Apr 2016 23:26:52 +0000 (03:56 +0430)] 
configdialog: fix size of PageSelectWidget (#83)

2 years agoUse const references with the foreach iterator
Luís Pereira [Fri, 22 Apr 2016 12:14:42 +0000 (13:14 +0100)] 
Use const references with the foreach iterator

We should use const references whenever possible.

2 years agoSettingsCache: Improve performance
Luís Pereira [Fri, 22 Apr 2016 11:45:14 +0000 (12:45 +0100)] 
SettingsCache: Improve performance

Drop the foreach iterator. key could be make an const QString& and the
penalty would be lower. But this is a special case. It will help the panel
to load faster.

2 years agoPrint warning messages when using the fallback Icon Theme
Luís Pereira [Thu, 21 Apr 2016 23:01:44 +0000 (00:01 +0100)] 
Print warning messages when using the fallback Icon Theme

It helps when debugging.

2 years agoUse LXQT_DATA_DIR for fallback icon theme search path
Luís Pereira [Fri, 22 Apr 2016 10:15:22 +0000 (11:15 +0100)] 
Use LXQT_DATA_DIR for fallback icon theme search path

Drop hardcoded path.

2 years agoSets Oxygen as the only fallback icon theme
Luís Pereira [Fri, 22 Apr 2016 10:10:34 +0000 (11:10 +0100)] 
Sets Oxygen as the only fallback icon theme

LXQt historically used Oxygen.
Having a list of "fallbacks" defeats the purpose of a fallback: something
to use in last resort.
failback variable renamed to fallback.

2 years agoAdds CMAKE_INSTALL_PREFIX to the LXQt Theme search paths
Luís Pereira [Wed, 20 Apr 2016 21:57:06 +0000 (22:57 +0100)] 
Adds CMAKE_INSTALL_PREFIX to the LXQt Theme search paths

Just add it as a fallback.

2 years agoLXQtCompilerSettings: Add QT_USE_QSTRINGBUILDER to the compile definitions
Luís Pereira [Fri, 8 Apr 2016 17:50:45 +0000 (18:50 +0100)] 
LXQtCompilerSettings: Add QT_USE_QSTRINGBUILDER to the compile definitions

It makes the '+' will automatically be performed as the QStringBuilder '%'
everywhere.

Disclaimer: This is not entirely source compatible.

3 years agoMerge pull request #82 from lxde/translate-add-options
Luís Pereira [Fri, 18 Mar 2016 10:05:09 +0000 (10:05 +0000)] 
Merge pull request #82 from lxde/translate-add-options

Translate add options

3 years agoSingleApplication: Use QCoreApplication::exit() instead of ::exit()
Palo Kisa [Mon, 8 Feb 2016 10:57:12 +0000 (11:57 +0100)] 
SingleApplication: Use QCoreApplication::exit() instead of ::exit()

3 years agobump year
Alf Gaida [Thu, 3 Mar 2016 14:54:08 +0000 (15:54 +0100)] 
bump year

3 years agoTranslateDesktopTs: Adds UPDATE_OPTIONS options
Luís Pereira [Tue, 23 Feb 2016 11:44:01 +0000 (11:44 +0000)] 
TranslateDesktopTs: Adds UPDATE_OPTIONS options

qtX_add_translation() allows the user to pass OPTIONS to lupdate, but we
didn't provide a way, for the user of lxqt_translate_ts(), to set them.

3 years agoTranslateDesktop: Remove lupdate absolute option
Luís Pereira [Mon, 22 Feb 2016 12:13:37 +0000 (12:13 +0000)] 
TranslateDesktop: Remove lupdate absolute option

Not needed, it's the default behaviour.

3 years agoTranslateDesktop: Use -a switch in grep commands
Palo Kisa [Fri, 12 Feb 2016 07:11:41 +0000 (08:11 +0100)] 
TranslateDesktop: Use -a switch in grep commands

As of grep v2.23 some translation files are considered as binary (maybe because of some locale settings)
and then the created .desktop file is malformed. So we force the grep to handle all provided input
files as text.

closes lxde/lxqt#957

3 years agoLXQtTheme: Remove (outdated) "singleclick" qss assembly
Palo Kisa [Tue, 2 Feb 2016 20:45:01 +0000 (21:45 +0100)] 
LXQtTheme: Remove (outdated) "singleclick" qss assembly

Assembly of the "activate-on-singleclick" style hint into style sheet is outdated. The *desktop.conf* confiugration
is not used any more (it is a remnant from the razor days). *lxqt-config-input* stores this configuration in
"lxqt.conf" settings file (key "single_click_activate") and this value is used in our *lxqt-qtplugin* (QPA platform theme)

3 years agosettings: Upgrade emitting of "changed" signals
Palo Kisa [Thu, 7 Jan 2016 23:52:22 +0000 (00:52 +0100)] 
settings: Upgrade emitting of "changed" signals

- Same signal settingsChanged() was emitted upon object based change (setValue(), erase()...) and
upon change made by external entity (watching the file changes) => we added other two signals
settingsChangedFromExternal() & settingsChangedByApp() to make these changes distinguishable. The
signal settingsChanged() was left for backwards compatibility.

- Emitting of settingsChanged*() signals was delayed to be able to distinguish if change made on file was
based upon our write/sync or by external application.

3 years agoSingleApplication: Call also QWidget::show on activate
Palo Kisa [Fri, 18 Dec 2015 18:18:02 +0000 (19:18 +0100)] 
SingleApplication: Call also QWidget::show on activate

Needed if the application is hidden (not only minimized), e.g. for lxqt-runner

3 years agoUpdated Russian translation
Igor [Wed, 9 Dec 2015 10:28:03 +0000 (13:28 +0300)] 
Updated Russian translation
Removed ru_RU file

3 years agoUse QString() instead of ""
Luís Pereira [Thu, 3 Dec 2015 18:26:50 +0000 (18:26 +0000)] 
Use QString() instead of ""

It's faster.

3 years agoUse CMAKE_INSTALL_FULL_DATAROOTDIR
Hong Hao [Tue, 1 Dec 2015 04:30:22 +0000 (12:30 +0800)] 
Use CMAKE_INSTALL_FULL_DATAROOTDIR

3 years agoAdd LXQT_GRAPHICS_DIR directory definition
Palo Kisa [Tue, 24 Nov 2015 21:48:04 +0000 (22:48 +0100)] 
Add LXQT_GRAPHICS_DIR directory definition

3 years agolxqt-config: Correct escaping while setting variables
Palo Kisa [Tue, 24 Nov 2015 21:39:48 +0000 (22:39 +0100)] 
lxqt-config: Correct escaping while setting variables

3 years agoCMake: Removes artifact
Luís Pereira [Tue, 24 Nov 2015 21:47:04 +0000 (21:47 +0000)] 
CMake: Removes artifact

It was simply left behind.

3 years agoMerge branch 'add-find-package-xdg-user-dirs'
Luís Pereira [Sat, 21 Nov 2015 00:04:30 +0000 (00:04 +0000)] 
Merge branch 'add-find-package-xdg-user-dirs'

3 years agoMerge branch 'smart2128-master'
Luís Pereira [Sat, 21 Nov 2015 00:03:01 +0000 (00:03 +0000)] 
Merge branch 'smart2128-master'

3 years agoAdds FindXdgUserDirs CMake find_package module
Luís Pereira [Wed, 18 Nov 2015 17:07:43 +0000 (17:07 +0000)] 
Adds FindXdgUserDirs CMake find_package module

It will be used to make lxqt-session depended on it.
Referenced at lxde/lxqt#896.

3 years agoItalian translation update
Vincenzo Reale [Tue, 10 Nov 2015 21:45:32 +0000 (22:45 +0100)] 
Italian translation update

3 years agoRelease 0.10.0 0.10.0
Jerome Leclanche [Mon, 2 Nov 2015 07:12:49 +0000 (09:12 +0200)] 
Release 0.10.0

3 years agoUpdate translations
Jerome Leclanche [Fri, 30 Oct 2015 22:27:45 +0000 (00:27 +0200)] 
Update translations

3 years agoFix mixed indents
Jerome Leclanche [Fri, 30 Oct 2015 22:25:17 +0000 (00:25 +0200)] 
Fix mixed indents

3 years agoFix license file
Jerome Leclanche [Fri, 30 Oct 2015 22:24:10 +0000 (00:24 +0200)] 
Fix license file

3 years agoRevert "Lock screen on suspend and hibernate"
Paulo Lieuthier [Mon, 26 Oct 2015 15:28:44 +0000 (12:28 -0300)] 
Revert "Lock screen on suspend and hibernate"

This reverts commit bdccf0641fdd7751c778a5937f3b87dd1cc17346.

3 years agogridlayout: Use linear animation
Palo Kisa [Mon, 26 Oct 2015 09:09:10 +0000 (10:09 +0100)] 
gridlayout: Use linear animation

We should be "light" & the QEasingCurve::Linear should be the less resources expensive one.

3 years agogridlayout: Add occupied geometry info
Palo Kisa [Fri, 23 Oct 2015 10:13:08 +0000 (12:13 +0200)] 
gridlayout: Add occupied geometry info

It is usable to know the (sub)rectangle currently used by items.

3 years agogridlayout: Fix setting geometry info
Palo Kisa [Fri, 23 Oct 2015 10:14:08 +0000 (12:14 +0200)] 
gridlayout: Fix setting geometry info

3 years agogridlayout: Add animated move support
Palo Kisa [Fri, 23 Oct 2015 10:10:21 +0000 (12:10 +0200)] 
gridlayout: Add animated move support

3 years agoMerge pull request #66 from lxde/AUTHORS-licenses
Alf Gaida [Sat, 24 Oct 2015 07:32:53 +0000 (09:32 +0200)] 
Merge pull request #66 from lxde/AUTHORS-licenses

license fix for AUTHORS

3 years agolicense fix for AUTHORS
Alf Gaida [Tue, 20 Oct 2015 23:27:47 +0000 (01:27 +0200)] 
license fix for AUTHORS

some files in cmake/modules are under BSD-3-clause
GPL isn't used at all

3 years agoconfig dialog: Protect against null pages add.
Luís Pereira [Mon, 19 Oct 2015 09:14:44 +0000 (10:14 +0100)] 
config dialog: Protect against null pages add.

Make it resilient to null pointers pages.

3 years agopluginTranslation: removed using QStringLiteral as it was causing SEGFAULT in static...
Palo Kisa [Thu, 15 Oct 2015 15:48:02 +0000 (17:48 +0200)] 
pluginTranslation: removed using QStringLiteral as it was causing SEGFAULT in static finalization time

3 years agopluginTranslation: add some symbol for referencing (for file to be not stripped out...
Palo Kisa [Thu, 15 Oct 2015 08:12:09 +0000 (10:12 +0200)] 
pluginTranslation: add some symbol for referencing (for file to be not stripped out in static linking time)

3 years agoAdds "automatic" plugin translations loader support
Luís Pereira [Thu, 24 Sep 2015 18:42:21 +0000 (11:42 -0700)] 
Adds "automatic" plugin translations loader support

Q_COREAPP_STARTUP_FUNCTION can also be used with libs. That's great.

Its part of the solution for https://github.com/lxde/lxqt/issues/766
and the translations loader problems described at
https://github.com/lxde/lxqt-panel/pull/228

3 years agoWarn missing xscreensaver in a non-blocking way
Paulo Lieuthier [Wed, 30 Sep 2015 16:05:18 +0000 (13:05 -0300)] 
Warn missing xscreensaver in a non-blocking way

3 years agoFix typos in translations/liblxqt_fr_FR.ts
Raphaël Bazaud [Wed, 30 Sep 2015 04:06:38 +0000 (06:06 +0200)] 
Fix typos in translations/liblxqt_fr_FR.ts

3 years agoMerge pull request #59 from siduction-upstream/master
Alf Gaida [Sun, 13 Sep 2015 10:04:54 +0000 (12:04 +0200)] 
Merge pull request #59 from siduction-upstream/master

licensefix for lxqttranslator.cpp

3 years agoRemoved country variant, improved and corrected italian translation
stefonarch [Sat, 12 Sep 2015 12:52:12 +0000 (14:52 +0200)] 
Removed country variant, improved and corrected italian translation

3 years agoUpdate lxqtpower.h
delcibao [Fri, 11 Sep 2015 21:35:50 +0000 (17:35 -0400)] 
Update lxqtpower.h

 fix typo line 106:  LXQt::ScreenSaver mScreenSaver;

3 years agoLock screen on suspend and hibernate
mid-kid [Tue, 25 Aug 2015 16:35:44 +0000 (18:35 +0200)] 
Lock screen on suspend and hibernate

3 years agolicensefix for lxqttranslator.cpp
Alf Gaida [Tue, 1 Sep 2015 19:51:59 +0000 (21:51 +0200)] 
licensefix for lxqttranslator.cpp

3 years agoFix typos in comments in lxqtsingleapplicatoin.h
brendy [Sat, 2 May 2015 19:57:20 +0000 (12:57 -0700)] 
Fix typos in comments in lxqtsingleapplicatoin.h

3 years agoRename LxQt to LXQt everywhere
Paulo Lieuthier [Mon, 24 Aug 2015 23:54:48 +0000 (20:54 -0300)] 
Rename LxQt to LXQt everywhere

3 years agoUpdate Greek (el) translation
Dimitrios Glentadakis [Sun, 23 Aug 2015 06:46:12 +0000 (08:46 +0200)] 
Update Greek (el) translation
Remove country variant in language code

3 years agoHandles CMake policy CMP0063
Luís Pereira [Thu, 6 Aug 2015 16:54:09 +0000 (09:54 -0700)] 
Handles CMake policy CMP0063

The ``OLD`` behavior for this policy is to ignore the visibility properties
for static libraries, object libraries, and executables without exports.
The ``NEW`` behavior for this policy is to honor the visibility properties
for all target types.

This policy was introduced in CMake version 3.3.  CMake version
3.3.0 warns when the policy is not set and uses ``OLD`` behavior. Use
the ``cmake_policy()`` command to set it to ``OLD`` or ``NEW``
explicitly.

We use NO_POLICY_SCOPE to make the LXQtCompilerSettings commands
affect the includer.

3 years agoMerge branch 'compiler-settings'
Luís Pereira [Thu, 30 Jul 2015 11:03:04 +0000 (04:03 -0700)] 
Merge branch 'compiler-settings'

* compiler-settings:
  Adds an lxqt_enable_target_exceptions() CMake function
  Adds LXQtCompilerSettings CMake module

3 years agoAdds an lxqt_enable_target_exceptions() CMake function
Luís Pereira [Tue, 28 Jul 2015 15:19:14 +0000 (08:19 -0700)] 
Adds an lxqt_enable_target_exceptions() CMake function

Some components need exceptions, e.g, lxqt-globalkeys.

3 years agoAdds LXQtCompilerSettings CMake module
Luís Pereira [Tue, 28 Jul 2015 15:14:54 +0000 (08:14 -0700)] 
Adds LXQtCompilerSettings CMake module

All settings in one place. Easier to search and maintain.
It will also bring performance improvements to some components. We disable
exceptions and set symbol VISIBILITY to hidden.

The settings were split into several categories.
We support GNU and Clang.

3 years agoRemoves Cannot open qss file
Luís Pereira [Wed, 22 Jul 2015 16:56:20 +0000 (09:56 -0700)] 
Removes Cannot open qss file

There's lot's of components that don't have an theme file. There's no need
to issue a warning, not even an debug message.

3 years agoMerge branch 'build-system'
Luís Pereira [Tue, 14 Jul 2015 16:07:07 +0000 (09:07 -0700)] 
Merge branch 'build-system'

* build-system:
  LXQtCreatePkgConfigFile.cmake: Makes install COMPONENT configurable
  LXQtTranslateTs.cmake Adds install COMPONENT option
  Adds Runtime install COMPONENT

3 years agoLXQtCreatePkgConfigFile.cmake: Makes install COMPONENT configurable
Luís Pereira [Mon, 13 Jul 2015 23:11:46 +0000 (16:11 -0700)] 
LXQtCreatePkgConfigFile.cmake: Makes install COMPONENT configurable

Devel remains the default of course.

3 years agoLXQtTranslateTs.cmake Adds install COMPONENT option
Luís Pereira [Mon, 13 Jul 2015 22:49:59 +0000 (15:49 -0700)] 
LXQtTranslateTs.cmake Adds install COMPONENT option

Defaults to Runtime.

3 years agoAdds Runtime install COMPONENT
Luís Pereira [Mon, 13 Jul 2015 20:51:49 +0000 (13:51 -0700)] 
Adds Runtime install COMPONENT

There are two install components:
* Devel Contains all the development files;
* Runtime Contains all the runtime needed files.

It's possible to install:

Everything: make install OR cmake -P cmake_install.cmake
Development files only: cmake -DCOMPONENT=Devel -P cmake_install.cmake
Runtime files only: cmake -DCOMPONENT=Runtime -P cmake_install.cmake

This COMPONENT's can also be used with CPack.

3 years agofix build with qt 5.5
rezso [Sun, 5 Jul 2015 16:46:13 +0000 (18:46 +0200)] 
fix build with qt 5.5

(lxqtnotification.h:43:5: error: 'Q_OBJECT' does not name a type)

3 years agoMerge branch 'build-system'
Luís Pereira [Fri, 10 Jul 2015 21:53:40 +0000 (14:53 -0700)] 
Merge branch 'build-system'

* build-system:
  Fixes an SuperBuild/NormalBuild FTBFS
  CMake: Use CMAKE_AUTOUIC, drop qt5_wrap()
  CMake: Quote variables
  CMake: Removes unused variables

3 years agoFixes an SuperBuild/NormalBuild FTBFS
Luís Pereira [Fri, 10 Jul 2015 21:37:31 +0000 (14:37 -0700)] 
Fixes an SuperBuild/NormalBuild FTBFS

The two weren't interchangeable. If one user compiled in NormalBuild with
SuperBuild already installed it FTBFS.

3 years agoCMake: Use CMAKE_AUTOUIC, drop qt5_wrap()
Luís Pereira [Fri, 10 Jul 2015 12:01:55 +0000 (05:01 -0700)] 
CMake: Use CMAKE_AUTOUIC, drop qt5_wrap()