Hi all,

Current master  and 3.0.0-rc2 give compile error:

/usr/bin/ld: cannot find -lQt5::WinMain
collect2: error: ld returned 1 exit status

This is on Debian Jessie 64bit linux box,
with gcc 4.8.2 compiler

git bisect leads me to

61c60b239c0ddc5eb975bb9cc3721b792a2aa18f is the first bad commit
commit 61c60b239c0ddc5eb975bb9cc3721b792a2aa18f
Author: Stephen Kelly <[email protected]>
Date:   Wed Mar 12 16:58:03 2014 +0100

    QtDialog: Avoid linking to Qt4 WinMain when using Qt 5.

    Override the QT_QTMAIN_LIBRARY cache variable with a regular
    variable in the Qt 5 configuration. This avoids linking with the
    Qt 4 version of the WinMain library.


-- 
Erk
L'élection n'est pas la démocratie -- http://www.le-message.org
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to