Commit 55787e6e authored by Laurent Montel's avatar Laurent Montel 😁

Make it compile.

It didn't link because we added "#include <QtGui/...> and it tries to link to qt4...
=> remove QtGui when we port to qt5 otherwise error at linking
parent f2dc50a5
......@@ -59,7 +59,7 @@ set(KDEPIM_LIB_SOVERSION "5")
set(KDEPIMLIBS_LIB_VERSION "4.70.0")
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Widgets Test Declarative)
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED Widgets Test Declarative XmlPatterns)
# QT5 package
find_package(Qt5WebKitWidgets ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
......
......@@ -110,7 +110,7 @@ set( AKONADI_IMAPATTRIBUTES_SHARED_SOURCES
add_subdirectory( akonotes )
add_subdirectory( kalarm )
add_subdirectory( contacts )
#add_subdirectory( dav )
add_subdirectory( dav )
add_subdirectory( ical )
add_subdirectory( imap )
add_subdirectory( kdeaccounts )
......
......@@ -78,6 +78,7 @@ project(davgroupware)
endif ()
target_link_libraries(akonadi_davgroupware_resource
Qt5::XmlPatterns
KF5::Abc
KF5::AkonadiCalendar
KF5::KIOCore
......
......@@ -27,18 +27,18 @@
#include <kservicetypetrader.h>
#include <ktextbrowser.h>
#include <QtCore/QUrl>
#include <QtGui/QButtonGroup>
#include <QtGui/QComboBox>
#include <QtGui/QCheckBox>
#include <QtGui/QFormLayout>
#include <QtGui/QHBoxLayout>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QRadioButton>
#include <QtGui/QRegExpValidator>
#include <QtGui/QTextBrowser>
#include <QUrl>
#include <QButtonGroup>
#include <QComboBox>
#include <QCheckBox>
#include <QFormLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QRadioButton>
#include <QRegExpValidator>
#include <QTextBrowser>
#include <kdebug.h>
......
......@@ -21,8 +21,8 @@
#include "davutils.h"
#include <QtGui/QWizard>
#include <QtGui/QWizardPage>
#include <QWizard>
#include <QWizardPage>
#include <qlabel.h>
class KJob;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment