[mingw-qt5-qtbase/f19] Fix detection of the uic tool when using CMake (RHBZ #1019952)
Erik van Pienbroek
epienbro at fedoraproject.org
Tue Nov 26 18:55:56 UTC 2013
commit 88e27c94c7fa66ddd49533c62ee5bed782c94ab8
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Tue Nov 26 19:51:39 2013 +0100
Fix detection of the uic tool when using CMake (RHBZ #1019952)
mingw-qt5-qtbase.spec | 5 ++++-
qt5-fix-cmake-support.patch | 11 +++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
---
diff --git a/mingw-qt5-qtbase.spec b/mingw-qt5-qtbase.spec
index 66f2359..412311d 100644
--- a/mingw-qt5-qtbase.spec
+++ b/mingw-qt5-qtbase.spec
@@ -23,7 +23,7 @@
Name: mingw-qt5-qtbase
Version: 5.1.1
-Release: 3%{?pre:.%{pre}}%{?snapshot_date:.git%{snapshot_date}.%{snapshot_rev}}%{?dist}
+Release: 4%{?pre:.%{pre}}%{?snapshot_date:.git%{snapshot_date}.%{snapshot_rev}}%{?dist}
Summary: Qt5 for Windows - QtBase component
License: GPLv3 with exceptions or LGPLv2 with exceptions
@@ -748,6 +748,9 @@ sed -i s@'#QT_TOOL'@'QT_TOOL'@ $RPM_BUILD_ROOT%{mingw64_datadir}/qt5/mkspecs/%{p
%changelog
+* Tue Nov 26 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.1.1-4
+- Fix detection of the uic tool when using CMake (RHBZ #1019952)
+
* Sun Nov 17 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.1.1-3
- Fix CMake support (RHBZ #1019952, RHBZ #1019947)
diff --git a/qt5-fix-cmake-support.patch b/qt5-fix-cmake-support.patch
index 7450696..d5d7dca 100644
--- a/qt5-fix-cmake-support.patch
+++ b/qt5-fix-cmake-support.patch
@@ -36,6 +36,17 @@
!!ENDIF
_qt5_Core_check_file_exists(${imported_location})
+--- src/widgets/Qt5WidgetsConfigExtras.cmake.in.orig 2013-11-26 19:48:08.588107974 +0100
++++ src/widgets/Qt5WidgetsConfigExtras.cmake.in 2013-11-26 19:48:20.603107472 +0100
+@@ -3,7 +3,7 @@
+ add_executable(Qt5::uic IMPORTED)
+
+ !!IF isEmpty(CMAKE_BIN_DIR_IS_ABSOLUTE)
+- set(imported_location \"${_qt5Widgets_install_prefix}/$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
++ set(imported_location \"${_qt5Widgets_install_prefix}/$${CMAKE_BIN_DIR}uic-qt5$$CMAKE_BIN_SUFFIX\")
+ !!ELSE
+ set(imported_location \"$${CMAKE_BIN_DIR}uic$$CMAKE_BIN_SUFFIX\")
+ !!ENDIF
--- src/gui/Qt5GuiConfigExtras.cmake.in.orig 2013-10-22 23:56:20.562965370 +0200
+++ src/gui/Qt5GuiConfigExtras.cmake.in 2013-10-22 23:57:16.142476851 +0200
@@ -2,9 +2,9 @@
More information about the scm-commits
mailing list