Commit d5386b04 authored by Laurent Montel's avatar Laurent Montel 😁

We depend against qt5.6

parent b413f8b5
......@@ -69,9 +69,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KAboutData aboutData(QStringLiteral("ispdb"),
i18n("ISPDB Assistant"),
QStringLiteral("0.1"),
......
......@@ -36,9 +36,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KLocalizedString::setApplicationDomain("accountwizard");
KAboutData aboutData(QStringLiteral("accountwizard"),
......
......@@ -36,9 +36,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("akonadiconsole"));
migrate.setConfigFiles(QStringList() << QStringLiteral("akonadiconsolerc"));
migrate.setUiFiles(QStringList() << QStringLiteral("akonadiconsoleui.rc"));
......
......@@ -82,9 +82,7 @@ int main(int argc, char **argv)
KLocalizedString::setApplicationDomain("akregator");
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Akregator::AboutData about;
app.setAboutData(about);
......
......@@ -37,9 +37,7 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
BlogiloMigrateApplication migrate;
migrate.migrate();
......
......@@ -31,9 +31,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KLocalizedString::setApplicationDomain("contactprintthemeeditor");
KAboutData aboutData(QStringLiteral("contactprintthemeeditor"),
i18n("Contact Print Theme Editor"),
......
......@@ -31,9 +31,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("contactthemeeditor"));
migrate.setConfigFiles(QStringList() << QStringLiteral("contactthemeeditorrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("contactthemeeditorui.rc"));
......
......@@ -34,9 +34,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("headerthemeeditor"));
migrate.setConfigFiles(QStringList() << QStringLiteral("headerthemeeditorrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("headerthemeeditorui.rc"));
......
......@@ -32,9 +32,7 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("importwizard"));
migrate.setConfigFiles(QStringList() << QStringLiteral("importwizardrc"));
migrate.migrate();
......
......@@ -59,9 +59,7 @@ int main(int argc, char **argv)
{
KAddressBookApplication app(argc, &argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KLocalizedString::setApplicationDomain("kaddressbook");
AboutData about;
......
......@@ -43,9 +43,7 @@ int main(int argc, char* argv[])
KAlarmApp* app = KAlarmApp::create(argc, argv);
QStringList args = app->arguments();
app->setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app->setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KLocalizedString::setApplicationDomain("kalarm");
KAboutData aboutData(QStringLiteral(PROGRAM_NAME), i18n("KAlarm"),
......
......@@ -93,9 +93,6 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${kmail_SOURCE_DIR})
find_package(KF5DBusAddons ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5Auth ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5DocTools REQUIRED)
#find_package(KF5TextEditor ${KF5_VERSION} CONFIG REQUIRED)
#find_package(KF5Sonnet ${KF5_VERSION} CONFIG REQUIRED)
#find_package(KF5GlobalAccel ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5Codecs ${KF5_VERSION} CONFIG REQUIRED)
# Find KdepimLibs Package
......
......@@ -114,9 +114,7 @@ int main(int argc, char *argv[])
KMailApplication app(argc, &argv);
KLocalizedString::setApplicationDomain("kmail");
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
app.setWindowIcon(QIcon::fromTheme(QStringLiteral("kmail")));
KMail::AboutData about;
app.setAboutData(about);
......
......@@ -46,9 +46,7 @@ int main(int argc, char *argv[])
{
Application app(argc, &argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KNotesMigrateApplication migrate;
migrate.migrate();
......
......@@ -157,9 +157,7 @@ int main(int argc, char **argv)
{
KontactApp app(argc, &argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("kontact"));
migrate.setConfigFiles(QStringList() << QStringLiteral("kontactrc") << QStringLiteral("kontact_summaryrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("kontactui.rc"));
......
......@@ -42,9 +42,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("korgac"));
migrate.setConfigFiles(QStringList() << QStringLiteral("korgacrc"));
......
......@@ -36,9 +36,7 @@ int main(int argc, char **argv)
{
KOrganizerApp app(argc, &argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KLocalizedString::setApplicationDomain("korganizer");
KOrgMigrateApplication migrate;
migrate.migrate();
......
......@@ -29,9 +29,7 @@ int main(int argc, char *argv[])
QApplication app(argc, argv);
KLocalizedString::setApplicationDomain("ktnef");
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("ktnef"));
migrate.setConfigFiles(QStringList() << QStringLiteral("ktnefrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("ktnefui.rc"));
......
......@@ -30,9 +30,7 @@ int main(int argc, char *argv[])
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
KLocalizedString::setApplicationDomain("mboximporter");
KAboutData aboutData(QStringLiteral("mboximporter"),
......
......@@ -32,9 +32,7 @@ int main(int argc, char *argv[])
KLocalizedString::setApplicationDomain("pimsettingexporter");
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("pimsettingexporter"));
migrate.setConfigFiles(QStringList() << QStringLiteral("pimsettingexporterrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("pimsettingexporter.rc"));
......
......@@ -31,9 +31,7 @@ int main(int argc, char **argv)
{
QApplication app(argc, argv);
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("sieveeditor"));
migrate.setConfigFiles(QStringList() << QStringLiteral("sieveeditorrc") << QStringLiteral("sievetemplaterc"));
migrate.setUiFiles(QStringList() << QStringLiteral("sieveeditorui.rc"));
......
......@@ -36,9 +36,7 @@ int main(int argc, char **argv)
KLocalizedString::setApplicationDomain("storageservicemanager");
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
#if QT_VERSION >= 0x050600
app.setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
Kdelibs4ConfigMigrator migrate(QStringLiteral("storageservice"));
migrate.setConfigFiles(QStringList() << QStringLiteral("storageservicerc") << QStringLiteral("storageservicemanager.notifyrc"));
migrate.setUiFiles(QStringList() << QStringLiteral("storageserviceui.rc"));
......
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