[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [trojita/addressbook] src/be.contacts: qt5: unbreak the build of be.contacts
From:       Jan_Kundrát <jkt () flaska ! net>
Date:       2013-05-25 7:54:50
Message-ID: 20130525075450.91C39A605B () git ! kde ! org
[Download RAW message or body]

Git commit 0705d5af5e6ff8ceed47a88cdc1a8c4703cd5920 by Jan Kundrát.
Committed on 25/05/2013 at 09:48.
Pushed by jkt into branch 'addressbook'.

qt5: unbreak the build of be.contacts

M  +1    -0    src/be.contacts/be.contacts.cpp
M  +3    -0    src/be.contacts/be.contacts.pro

http://commits.kde.org/trojita/0705d5af5e6ff8ceed47a88cdc1a8c4703cd5920

diff --git a/src/be.contacts/be.contacts.cpp b/src/be.contacts/be.contacts.cpp
index 493db8c..befd2d9 100644
--- a/src/be.contacts/be.contacts.cpp
+++ b/src/be.contacts/be.contacts.cpp
@@ -7,6 +7,7 @@
 #include <QImageReader>
 #include <QKeyEvent>
 #include <QMetaProperty>
+#include <QMimeData>
 #include <QPainter>
 #include <QPainterPath>
 #include <QSettings>
diff --git a/src/be.contacts/be.contacts.pro b/src/be.contacts/be.contacts.pro
index 0e9a239..b70803e 100644
--- a/src/be.contacts/be.contacts.pro
+++ b/src/be.contacts/be.contacts.pro
@@ -8,6 +8,9 @@ SOURCES = \
     main.cpp
 CONFIG += qt
 QT += gui core
+greaterThan(QT_MAJOR_VERSION, 4) {
+    QT += widgets
+}
 DEFINES += VERSION=0.1
 target.path += $$[QT_INSTALL_BINS]
 INSTALLS += target
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic