[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] qt5 build and cmake use
From: |
Tony Theodore |
Subject: |
Re: [Mingw-cross-env-list] qt5 build and cmake use |
Date: |
Wed, 12 Mar 2014 18:16:22 +1100 |
On 11 Mar 2014, at 19:03, ludovic léau-mercier <address@hidden> wrote:
> […]
> (Now cmake file search Qt5Gui : find_package(Qt5Gui) and failed : )
> CMake Error at
> mxe/usr/x86_64-w64-mingw32.shared/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:18
> (message):
> Failed to find "glu32" in "" with CMAKE_CXX_LIBRARY_ARCHITECTURE
> "x86_64-linux-gnu".
>
> (It's very strange that cmake have the var CMAKE_CXX_LIBRARY_ARCHITECTURE set
> to x86_64-linux-gnu no ? )
>
> Call Stack (most recent call first):
> mxe/usr/x86_64-w64-mingw32.shared/qt5/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:54
> (_qt5gui_find_extra_libs)
> mxe/usr/x86_64-w64-mingw32.shared/qt5/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:155
> (include)
> cmake/modules/QtVersionAbstraction.cmake:34 (find_package)
> CMakeLists.txt:57 (include)
>
> Have you an idea if there are a problem with mxe cmake and qt5.
It appears to be a bug with cmake:
https://bugreports.qt-project.org/browse/QTBUG-33762
http://www.cmake.org/Bug/view.php?id=14457
Cheers,
Tony