[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] CMake 3.7.1 gui fails to launch
From: daryl () daryllee ! com
Date: 2017-01-06 17:41:20
Message-ID: 20170106124120.Horde.U3Sc0LaJ3q5phZjBC0a9wUR () www ! daryllee ! com
[Download RAW message or body]
As it turns out, no, I can't use Qt5. In fact, I'd love to hear from
anyone who actually has. I find this in Modules/FindQt.make:
===========================
if (Qt_FIND_VERSION)
if (Qt_FIND_VERSION MATCHES "^([34])(\\.[0-9]+.*)?$")
set(DESIRED_QT_VERSION ${CMAKE_MATCH_1})
else ()
message(FATAL_ERROR "FindQt was called with invalid version
'${Qt_FIND_VERSION}'. Only Qt major versions 3 or 4 are supported. If
you do not need to support both Qt3 and Qt4 in your source consider
calling find_package(Qt3) or find_package(Qt4) instead of
find_package(Qt) instead.")
endif ()
endif ()
===========================
So I re-installed Qt4, rebuilt CMake (./bootstrap --qt-gui, make, sudo
make install) and still got the same runtime failure.
Quoting David Cole <DLRdave@aol.com>:
> Can you use Qt5? CMake 3.7 is typically built using Qt5: perhaps a Qt5
> **requirement** has crept in since it's the commonly used one now.
>
>
> HTH,
> David C.
>
>
>
> On Fri, Jan 6, 2017 at 10:41 AM, <daryl@daryllee.com> wrote:
> > I'm running Ubuntu 14.04 and I'm trying to get the current version of CMake
> > to run. (The apt-get version is 2.8).
> >
> > I installed Qt4 (version 4.8.6) with
> >
> > $ sudo apt-get install libqt4-core libqt4-dev libqt4-gui qt4-dev-tools
> >
> > I installed cmake
> >
> > $ ./bootstrap & make & sudo make install
> >
> > all seemed to run without issue. Running "cmake-gui --version" reported
> > version 3.7.1, but running "cmake-gui" failed:
> >
> > =========
> > daryl@eve-ldb:~/cmake/cmake-3.7.1$ cmake-gui --version
> > cmake version 3.7.1
> >
> > CMake suite maintained and supported by Kitware (kitware.com/cmake).
> > daryl@eve-ldb:~/cmake/cmake-3.7.1$ cmake-gui
> > cmake-gui: symbol lookup error: cmake-gui: undefined symbol:
> > _ZN9QListData11detach_growEPii
> > ==========
> >
> > That looks like a Qt linkage error. Any suggestions on resolving this?
> > --
> >
> > 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/mailman/listinfo/cmake
--
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/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic