From 09d0fd1e808ae5f70c8c4aa4181a5e7d321ee82d Mon Sep 17 00:00:00 2001 From: Daniel Kristjansson Date: Thu, 28 Feb 2013 22:15:17 -0500 Subject: [PATCH] Port mythweather to Qt5 --- mythplugins/mythweather/mythweather/main.cpp | 4 ---- mythplugins/mythweather/mythweather/mythweather.pro | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mythplugins/mythweather/mythweather/main.cpp b/mythplugins/mythweather/mythweather/main.cpp index 0a09c04033f..07e9e3847ec 100644 --- a/mythplugins/mythweather/mythweather/main.cpp +++ b/mythplugins/mythweather/mythweather/main.cpp @@ -1,10 +1,6 @@ #include -// QT headers -#include -#include - // MythTV headers #include #include diff --git a/mythplugins/mythweather/mythweather/mythweather.pro b/mythplugins/mythweather/mythweather/mythweather.pro index 15acbe0a9a0..ab0654b92df 100644 --- a/mythplugins/mythweather/mythweather/mythweather.pro +++ b/mythplugins/mythweather/mythweather/mythweather.pro @@ -3,6 +3,9 @@ include ( ../../settings.pro ) include ( ../../programs-libs.pro ) QT += sql xml network +contains(QT_VERSION, ^5\\.[0-9]\\..*) { +QT += widgets +} TEMPLATE = lib CONFIG += plugin thread