[mingw-qt5-qtbase] Fix detection of the uic tool when using CMake (RHBZ #1019952)
Erik van Pienbroek
epienbro at fedoraproject.org
Tue Nov 26 18:51:51 UTC 2013
commit ca521713e608019e4e70dcd1471c180e981f7d04
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 32477f1..5bf3e9f 100644
--- a/mingw-qt5-qtbase.spec
+++ b/mingw-qt5-qtbase.spec
@@ -23,7 +23,7 @@
Name: mingw-qt5-qtbase
Version: 5.2.0
-Release: 0.1%{?pre:.%{pre}}%{?snapshot_date:.git%{snapshot_date}.%{snapshot_rev}}%{?dist}
+Release: 0.2%{?pre:.%{pre}}%{?snapshot_date:.git%{snapshot_date}.%{snapshot_rev}}%{?dist}
Summary: Qt5 for Windows - QtBase component
License: GPLv3 with exceptions or LGPLv2 with exceptions
@@ -728,6 +728,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.2.0-0.2.beta1
+- Fix detection of the uic tool when using CMake (RHBZ #1019952)
+
* Tue Oct 22 2013 Erik van Pienbroek <epienbro at fedoraproject.org> - 5.2.0-0.1.beta1
- Update to 5.2.0 beta 1
- 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