[Bug 1725664] Re: linking against qt5 breaks c++14
Launchpad Bug Tracker
1725664 at bugs.launchpad.net
Sun Dec 24 04:17:15 UTC 2017
[Expired for cmake (Ubuntu) because there has been no activity for 60
days.]
** Changed in: cmake (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1725664
Title:
linking against qt5 breaks c++14
Status in cmake package in Ubuntu:
Expired
Bug description:
I use cmake to build a project which uses qt5. In zesty and artful
compiling fails with:
error: ‘remove_reference_t’ is not a member of ‘std’
I created a minimal example and found out that linking against qt5
like this: target_link_libraries(testlib Qt5::Core) leads to the
compiler not finding c++14 types. If I remove Qt5::Core from the line
the minimal example compiles.
I use a line like this to compile:
cd ~/cmake_bug/build && rm -rf * && cmake -D CMAKE_BUILD_TYPE=Release ../src && make
The problem does NOT affect 16.04. With 16.10 I don't know.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1725664/+subscriptions
More information about the foundations-bugs
mailing list