[Bug 870455] cmake FindQt4 cannot find MinGW qconfig.pri

bugzilla at redhat.com bugzilla at redhat.com
Tue Oct 30 02:56:01 UTC 2012


https://bugzilla.redhat.com/show_bug.cgi?id=870455

Orion Poplawski <orion at cora.nwra.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |drizt at land.ru,
                   |                            |erik-fedora at vanpienbroek.nl
                   |                            |,
                   |                            |fedora-mingw at lists.fedorapr
                   |                            |oject.org,
                   |                            |kalevlember at gmail.com,
                   |                            |lfarkas at lfarkas.org,
                   |                            |rjones at redhat.com
          Component|cmake                       |mingw32-filesystem
           Assignee|orion at cora.nwra.com         |rjones at redhat.com

--- Comment #5 from Orion Poplawski <orion at cora.nwra.com> ---
Toolchain appears to be setting QT_BINARY_DIR to:

QT_BINARY_DIR=/usr/i686-w64-mingw32/bin/usr/bin

which isn't correct.

--- /usr/share/mingw/Toolchain-mingw32.cmake.orig       2012-10-29
20:53:22.038953114 -0600
+++ /usr/share/mingw/Toolchain-mingw32.cmake    2012-10-29 20:52:00.350620208
-0600
@@ -14,7 +14,7 @@
 SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)

 # Make sure Qt can be detected by CMake
-SET(QT_BINARY_DIR /usr/i686-w64-mingw32/bin /usr/bin)
+SET(QT_BINARY_DIR /usr/i686-w64-mingw32/bin)

 # set the resource compiler (RHBZ #652435)
 SET(CMAKE_RC_COMPILER /usr/bin/i686-w64-mingw32-windres)

should do the trick.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the mingw mailing list