diff options
author | Michael Terry <michael.terry@canonical.com> | 2013-02-07 09:26:19 -0500 |
---|---|---|
committer | Michael Terry <michael.terry@canonical.com> | 2013-02-07 09:26:19 -0500 |
commit | 4cffb28a6934b5774c4645a4e8e40f5e29396385 (patch) | |
tree | 845e425296511bc498b3f7c2d18cf4237d9ac1f2 /liblightdm-qt/greeter.cpp | |
parent | f146b87cabe0404fa7551b3f97c9e37b7c30d484 (diff) | |
parent | 7d87029699bab38ac31d5eb34e9b6e4b799b6995 (diff) | |
download | lightdm-4cffb28a6934b5774c4645a4e8e40f5e29396385.tar.gz |
QLightDM: Add Qt5 version of the library: liblightdm-qt5-2
Diffstat (limited to 'liblightdm-qt/greeter.cpp')
-rw-r--r-- | liblightdm-qt/greeter.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/liblightdm-qt/greeter.cpp b/liblightdm-qt/greeter.cpp index ff7841e0..8fb287ff 100644 --- a/liblightdm-qt/greeter.cpp +++ b/liblightdm-qt/greeter.cpp @@ -252,4 +252,8 @@ QString Greeter::hostname() const return QString::fromUtf8(lightdm_get_hostname()); } -#include "greeter_moc.cpp" +#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) +#include "greeter_moc5.cpp" +#else +#include "greeter_moc4.cpp" +#endif |