Discussion:
Qt5 CMake Error: unknown command qt5_use_modules
ddw_music
2014-06-17 15:31:06 UTC
Permalink
Hello,

Question about the Qt5 branch. I've installed Qt5.2.1, and configured:

Qt5Gui_DIR=~/share/Qt5.2.1/5.2.1/gcc_64/lib/cmake/Qt5Gui
Qt5Core_DIR=~/share/Qt5.2.1/5.2.1/gcc_64/lib/cmake/Qt5Core
Qt5Network_DIR=~/share/Qt5.2.1/5.2.1/gcc_64/lib/cmake/Qt5Network
Qt5WebKit_DIR=~/share/Qt5.2.1/5.2.1/gcc_64/lib/cmake/Qt5WebKit

Then:

CMake Error at lang/CMakeLists.txt:217 (qt5_use_modules):
Unknown CMake command "qt5_use_modules".

I don't know how to proceed.

Side question: Is it really necessary to configure four separate Qt
directories by hand? Perhaps now it is, but it's a bit onerous.

(As for my hiatus from the lists -- I'm still taking a break -- it's been
very useful not to have the daily temptation to answer questions! I'm now
subscribed to sc-dev-acl and I'm posting this through nabble, so I can check
messages when I choose instead of them flooding into my inbox on their own
time.)

hjh



--
View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Qt5-CMake-Error-unknown-command-qt5-use-modules-tp7611629.html
Sent from the SuperCollider Developers New (Use this!!!!) mailing list archive at Nabble.com.

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
tim
2014-06-17 15:43:56 UTC
Permalink
Post by ddw_music
Qt5Gui_DIR=~/share/Qt5.2.1/5.2.1/gcc_64/lib/cmake/Qt5Gui
Qt5Core_DIR=~/share/Qt5.2.1/5.2.1/gcc_64/lib/cmake/Qt5Core
Qt5Network_DIR=~/share/Qt5.2.1/5.2.1/gcc_64/lib/cmake/Qt5Network
Qt5WebKit_DIR=~/share/Qt5.2.1/5.2.1/gcc_64/lib/cmake/Qt5WebKit
compare:
http://qt-project.org/doc/qt-5/cmake-manual.html

CMAKE_PREFIX_PATH needs to point to ~/share/Qt5.2.1/5.2.1/gcc_64/lib/ on
your setup.


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
James Harkins
2014-06-18 10:56:21 UTC
Permalink
Post by tim
http://qt-project.org/doc/qt-5/cmake-manual.html
CMAKE_PREFIX_PATH needs to point to ~/share/Qt5.2.1/5.2.1/gcc_64/lib/ on
your setup.
Thanks for the pointer to the manual page.

This may have been part of the problem, but the other part is an outdated
cmake package in Ubuntu: 2.8.7, about which the Qt manual says:

~~
Using Qt 5 with CMake older than 2.8.9

If using CMake older than 2.8.9, the qt5_use_modules macro is not available.
Attempting to use it will result in an error.
~~

Bah... I guess I should try Gentoo if I don't want to get hung up by Ubuntu
packaging fails.

hjh


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
James Harkins
2014-06-18 14:14:47 UTC
Permalink
Post by James Harkins
This may have been part of the problem, but the other part is an outdated
cmake package in Ubuntu: 2.8.7...
Sorry if this is a double-post: I tried once via gmane about 3 hours ago,
and it hasn't appeared in gmane or nabble, so I assume it didn't go through.

So, some progress, though it took some trouble: I couldn't find any debian
package for an up-to-date cmake /64-bit/, so ended up having to build my own
from source (!). (Was my snarky aside about Gentoo somehow prophetic?)

But it appears not to like the way I set the CMAKE_PREFIX_PATH -- I did
"CMAKE_PREFIX_PATH=blah/blah" and "export CMAKE_PREFIX_PATH" and this does
seem to be okay within the same shell:

$ echo $CMAKE_PREFIX_PATH
/home/dlm/share/Qt5.2.1/5.2.1/gcc_64/lib

I did it this way based on the Qt manual's reference to an /environment/
variable CMAKE_PREFIX_PATH.

But...

~~
$ /usr/local/bin/cmake ..
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- SuperCollider Version: 3.7alpha0
-- Build type defaulting to "RelWithDebInfo"
-- Compiling with Qt GUI
-- building boost libraries manually
-- Could NOT find YAMLCPP (missing: YAMLCPP_INCLUDE_DIR YAMLCPP_LIBRARY)
-- using bundled libyaml-cpp
-- using fftw3f
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Found jack: /usr/lib/x86_64-linux-gnu/libjack.so
-- Audio API: jack
-- Found GNU Readline version 6.2: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Compiling with Readline support
-- Compiling with ALSA midi support
-- Building the Qt IDE
CMake Warning at editors/sc-ide/CMakeLists.txt:8 (find_package):
By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5LinguistTools", but CMake did not find one.

Could not find a package configuration file provided by "Qt5LinguistTools"
with any of the following names:

Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake

Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
set "Qt5LinguistTools_DIR" to a directory containing one of the above
files. If "Qt5LinguistTools" provides a separate development package or
SDK, be sure it has been installed.


CMake Error at editors/sc-ide/CMakeLists.txt:185 (qt5_add_translation):
Unknown CMake command "qt5_add_translation".
~~

This is tiresome. But I have to do it because my bizarre Qt drawing failures
in the IDE haven't stopped, so I really do have to test the Qt5 branch. I
can't shake the feeling that there must be an easier way to configure, than
to add every Qt module's path by hand.

Help...?

hjh



_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
Scott Carver
2014-06-18 16:22:20 UTC
Permalink
It'll take me a bit, but I have a formula of some sorts that I used to set
up the Linux ibs machine, which is Ubuntu. I'll probably have to check the
bash history of the Ami image, cause I didn't write all of it down :) I'll
look today and let you know. The problem you're describing is not an env
problem, but an installation problem - I recall qt5 in apt is separated
into packages, and getting the right stuff took fiddling.

- scott
Post by James Harkins
Post by James Harkins
This may have been part of the problem, but the other part is an outdated
cmake package in Ubuntu: 2.8.7...
Sorry if this is a double-post: I tried once via gmane about 3 hours ago,
and it hasn't appeared in gmane or nabble, so I assume it didn't go through.
So, some progress, though it took some trouble: I couldn't find any debian
package for an up-to-date cmake /64-bit/, so ended up having to build my own
from source (!). (Was my snarky aside about Gentoo somehow prophetic?)
But it appears not to like the way I set the CMAKE_PREFIX_PATH -- I did
"CMAKE_PREFIX_PATH=blah/blah" and "export CMAKE_PREFIX_PATH" and this does
$ echo $CMAKE_PREFIX_PATH
/home/dlm/share/Qt5.2.1/5.2.1/gcc_64/lib
I did it this way based on the Qt manual's reference to an /environment/
variable CMAKE_PREFIX_PATH.
But...
~~
$ /usr/local/bin/cmake ..
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- SuperCollider Version: 3.7alpha0
-- Build type defaulting to "RelWithDebInfo"
-- Compiling with Qt GUI
-- building boost libraries manually
-- Could NOT find YAMLCPP (missing: YAMLCPP_INCLUDE_DIR YAMLCPP_LIBRARY)
-- using bundled libyaml-cpp
-- using fftw3f
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Found jack: /usr/lib/x86_64-linux-gnu/libjack.so
-- Audio API: jack
-- Found GNU Readline version 6.2: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Compiling with Readline support
-- Compiling with ALSA midi support
-- Building the Qt IDE
By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5LinguistTools", but CMake did not find one.
Could not find a package configuration file provided by
"Qt5LinguistTools"
Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake
Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
set "Qt5LinguistTools_DIR" to a directory containing one of the above
files. If "Qt5LinguistTools" provides a separate development package or
SDK, be sure it has been installed.
Unknown CMake command "qt5_add_translation".
~~
This is tiresome. But I have to do it because my bizarre Qt drawing failures
in the IDE haven't stopped, so I really do have to test the Qt5 branch. I
can't shake the feeling that there must be an easier way to configure, than
to add every Qt module's path by hand.
Help...?
hjh
_______________________________________________
sc-dev mailing list
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
Scott Carver
2014-06-18 19:08:40 UTC
Permalink
Try:

*qt5-default qt5-qmake qttools5-dev qttools5-dev-tools qtdeclarative5-dev
libqt5webkit5-dev*

I think that's the minimal (or close to minimal) set of packages required
to build qt5. Specifically, I'd be curious to see what you don't already
have that apt installs when you do the above? LinguistTools comes by way of
qttools5-dev I think....

As far as cmake - this is what I've got on the ibs:
http://packages.ubuntu.com/saucy/cmake


- S
Post by James Harkins
Post by James Harkins
This may have been part of the problem, but the other part is an outdated
cmake package in Ubuntu: 2.8.7...
Sorry if this is a double-post: I tried once via gmane about 3 hours ago,
and it hasn't appeared in gmane or nabble, so I assume it didn't go through.
So, some progress, though it took some trouble: I couldn't find any debian
package for an up-to-date cmake /64-bit/, so ended up having to build my own
from source (!). (Was my snarky aside about Gentoo somehow prophetic?)
But it appears not to like the way I set the CMAKE_PREFIX_PATH -- I did
"CMAKE_PREFIX_PATH=blah/blah" and "export CMAKE_PREFIX_PATH" and this does
$ echo $CMAKE_PREFIX_PATH
/home/dlm/share/Qt5.2.1/5.2.1/gcc_64/lib
I did it this way based on the Qt manual's reference to an /environment/
variable CMAKE_PREFIX_PATH.
But...
~~
$ /usr/local/bin/cmake ..
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- SuperCollider Version: 3.7alpha0
-- Build type defaulting to "RelWithDebInfo"
-- Compiling with Qt GUI
-- building boost libraries manually
-- Could NOT find YAMLCPP (missing: YAMLCPP_INCLUDE_DIR YAMLCPP_LIBRARY)
-- using bundled libyaml-cpp
-- using fftw3f
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Found jack: /usr/lib/x86_64-linux-gnu/libjack.so
-- Audio API: jack
-- Found GNU Readline version 6.2: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Compiling with Readline support
-- Compiling with ALSA midi support
-- Building the Qt IDE
By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5LinguistTools", but CMake did not find one.
Could not find a package configuration file provided by
"Qt5LinguistTools"
Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake
Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
set "Qt5LinguistTools_DIR" to a directory containing one of the above
files. If "Qt5LinguistTools" provides a separate development package or
SDK, be sure it has been installed.
Unknown CMake command "qt5_add_translation".
~~
This is tiresome. But I have to do it because my bizarre Qt drawing failures
in the IDE haven't stopped, so I really do have to test the Qt5 branch. I
can't shake the feeling that there must be an easier way to configure, than
to add every Qt module's path by hand.
Help...?
hjh
_______________________________________________
sc-dev mailing list
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
James Harkins
2014-06-19 02:05:14 UTC
Permalink
Try:qt5-default qt5-qmake qttools5-dev qttools5-dev-tools qtdeclarative5-dev
libqt5webkit5-dev
I think that's the minimal (or close to minimal) set of packages required to
build qt5. Specifically, I'd be curious to see what you don't already have
that apt installs when you do the above? LinguistTools comes by way of
qttools5-dev I think....

Ubuntu 12.04 doesn't package qt 5. I had no choice but to install qt 5 by the
download from the qt project website. If the qt project maintained a ppa for
12.04, I'd gladly use it, but I saw no mention of such on qt's download page.

It sounds like I'll just have to run cmake repetitively, and deal with each
error as it comes, or...?

hjh


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
Scott Carver
2014-06-19 02:26:25 UTC
Permalink
I recall seeing instructions to connect to a special ppa to install the qt5
packages, so I believe I did that as well -- perhaps this will help?

sudo apt-add-repository ppa:ubuntu-sdk-team/ppa
sudo apt-get update

Sorry my instructions are a bit haphazard, I'm no expert on linux
packaging, so getting this to build was trial and error.

- S
Post by Scott Carver
Try:qt5-default qt5-qmake qttools5-dev qttools5-dev-tools
qtdeclarative5-dev
libqt5webkit5-dev
I think that's the minimal (or close to minimal) set of packages
required to
build qt5. Specifically, I'd be curious to see what you don't already have
that apt installs when you do the above? LinguistTools comes by way of
qttools5-dev I think....
Ubuntu 12.04 doesn't package qt 5. I had no choice but to install qt 5 by the
download from the qt project website. If the qt project maintained a ppa for
12.04, I'd gladly use it, but I saw no mention of such on qt's download page.
It sounds like I'll just have to run cmake repetitively, and deal with each
error as it comes, or...?
hjh
_______________________________________________
sc-dev mailing list
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
James Harkins
2014-06-21 02:43:18 UTC
Permalink
Try:qt5-default qt5-qmake qttools5-dev qttools5-dev-tools
qtdeclarative5-dev libqt5webkit5-dev
I think that's the minimal (or close to minimal) set of packages required
to build qt5. Specifically, I'd be curious to see what you don't already
have that apt installs when you do the above? LinguistTools comes by way of
qttools5-dev I think....

I think there is some misunderstanding of the problem here. Even before
installing the packages from the ppa, I did have all the components of Qt5.
It's just that our cmake script doesn't know how to find them unless they
are installed in the default locations. Even setting CMAKE_PREFIX_PATH did
not help.

So I tried setting the path to the linguistic tools manually, like the other
ones, and that was the last one I had to set. SC compiled and installed, but
then... linker problem... even though make knew where the Qt5 libraries were
located, it didn't link the correct paths into the SC executables. So the
resulting binary was useless.

This might be an issue to resolve, either in the cmake scripts or in
documentation:

- If we want to support a Qt5 installed from the qt-project website, then
SC's linking instructions need to respect the Qt5 paths given during cmake
configuration.

- Or, if that's infeasible, then SC's documentation needs to explain that we
will absolutely not support Qt5 installed from any source other than OS
packages.

Anyway... finally, success. I installed the packages you listed from the
PPA, rebuilt, installed, and SC launches properly.

One bug: My sc_ide_conf.yaml specifies that the SCDoc browser should be
detached and NOT opened on start up. But the Qt5 IDE opens the window anyway
and doesn't populate it. This window doesn't draw, and it can't be closed
using the close button. I then have to hit Ctrl-D manually to activate the
window, and then I can close it.

Actually, now the detached help browser has completely hosed the Unity
desktop's menubar and launcher. This is rather unpleasant, so, when I get
control of my machine back, I'm going to have to switch back to Qt4 SC for
now. (It could be the help browser, or an Always-On-Top sclang GUI window
that I open in my startup file.)

Thanks for the help!
hjh


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
James Harkins
2014-06-21 03:00:47 UTC
Permalink
Post by James Harkins
Actually, now the detached help browser has completely hosed the Unity
desktop's menubar and launcher. This is rather unpleasant, so, when I get
control of my machine back, I'm going to have to switch back to Qt4 SC for
now. (It could be the help browser, or an Always-On-Top sclang GUI window
that I open in my startup file.)
Rebooting restored *some* of the functionality, but I can't re-enable
autohide for the left-side launcher panel. So, as a result of testing the
qt5 branch, my desktop has suffered "permanent" damage (permanent until
somebody on ubuntuforums.org tells me which config files I need to trash).

Very nasty bug.

hjh


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
Scott Carver
2014-06-21 03:13:42 UTC
Permalink
Hmmm. Interesting...

Re building, I just set up a Travis task today to build qt5 on a completely
clean ubuntu environment. The travis.yml should be everything required? Let
me know how that differs from your steps.

Re bugs, that sounds bad, VERY glad you built as qt5 branch has had no
testing on Linux really... It might be tough / impossible for me to get a
Linux build environment up any time soon, but I'll get back to you this
weekend, I'd like to figure those issues out asap.

- s
Post by James Harkins
Post by James Harkins
Actually, now the detached help browser has completely hosed the Unity
desktop's menubar and launcher. This is rather unpleasant, so, when I get
control of my machine back, I'm going to have to switch back to Qt4 SC
for
Post by James Harkins
now. (It could be the help browser, or an Always-On-Top sclang GUI window
that I open in my startup file.)
Rebooting restored *some* of the functionality, but I can't re-enable
autohide for the left-side launcher panel. So, as a result of testing the
qt5 branch, my desktop has suffered "permanent" damage (permanent until
somebody on ubuntuforums.org tells me which config files I need to trash).
Very nasty bug.
hjh
_______________________________________________
sc-dev mailing list
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
Scott Carver
2014-06-22 00:16:20 UTC
Permalink
James -

Re your documentation window bug - I can't repro what you described on mac.
However, I can easily get a crash deep inside of Qt if I:


a) close supercollider with a floating, attached Doc window (i.e. not
wrapped in an os window)
b) re-open SC (everything seems fine at this point)
c) re-dock window
d) undock window


I know this doesn't happen with the post window, because I've been using a
floating post window for 6+ months in the qt5 branch with no problems - so
it's something specific to webkit views maybe? Can anyone else verify this
crash on non-qt5 builds (or, on linux qt5 for that matter).

- S
Post by Scott Carver
Hmmm. Interesting...
Re building, I just set up a Travis task today to build qt5 on a
completely clean ubuntu environment. The travis.yml should be everything
required? Let me know how that differs from your steps.
Re bugs, that sounds bad, VERY glad you built as qt5 branch has had no
testing on Linux really... It might be tough / impossible for me to get a
Linux build environment up any time soon, but I'll get back to you this
weekend, I'd like to figure those issues out asap.
- s
Post by James Harkins
Post by James Harkins
Actually, now the detached help browser has completely hosed the Unity
desktop's menubar and launcher. This is rather unpleasant, so, when I
get
Post by James Harkins
control of my machine back, I'm going to have to switch back to Qt4 SC
for
Post by James Harkins
now. (It could be the help browser, or an Always-On-Top sclang GUI
window
Post by James Harkins
that I open in my startup file.)
Rebooting restored *some* of the functionality, but I can't re-enable
autohide for the left-side launcher panel. So, as a result of testing the
qt5 branch, my desktop has suffered "permanent" damage (permanent until
somebody on ubuntuforums.org tells me which config files I need to trash).
Very nasty bug.
hjh
_______________________________________________
sc-dev mailing list
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
Scott Carver
2014-06-18 20:45:48 UTC
Permalink
James -

I just updated some of the build instructions for linux in the qt5 branch.
If you find additional gotchas or information, mind documenting them
<https://github.com/supercollider/supercollider/edit/qt52/README_LINUX.md>?
I'll try to do a better job at keeping it up to date.

,s
Post by James Harkins
Post by James Harkins
This may have been part of the problem, but the other part is an outdated
cmake package in Ubuntu: 2.8.7...
Sorry if this is a double-post: I tried once via gmane about 3 hours ago,
and it hasn't appeared in gmane or nabble, so I assume it didn't go through.
So, some progress, though it took some trouble: I couldn't find any debian
package for an up-to-date cmake /64-bit/, so ended up having to build my own
from source (!). (Was my snarky aside about Gentoo somehow prophetic?)
But it appears not to like the way I set the CMAKE_PREFIX_PATH -- I did
"CMAKE_PREFIX_PATH=blah/blah" and "export CMAKE_PREFIX_PATH" and this does
$ echo $CMAKE_PREFIX_PATH
/home/dlm/share/Qt5.2.1/5.2.1/gcc_64/lib
I did it this way based on the Qt manual's reference to an /environment/
variable CMAKE_PREFIX_PATH.
But...
~~
$ /usr/local/bin/cmake ..
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- SuperCollider Version: 3.7alpha0
-- Build type defaulting to "RelWithDebInfo"
-- Compiling with Qt GUI
-- building boost libraries manually
-- Could NOT find YAMLCPP (missing: YAMLCPP_INCLUDE_DIR YAMLCPP_LIBRARY)
-- using bundled libyaml-cpp
-- using fftw3f
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Found jack: /usr/lib/x86_64-linux-gnu/libjack.so
-- Audio API: jack
-- Found GNU Readline version 6.2: /usr/lib/x86_64-linux-gnu/libreadline.so
-- Compiling with Readline support
-- Compiling with ALSA midi support
-- Building the Qt IDE
By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5LinguistTools", but CMake did not find one.
Could not find a package configuration file provided by
"Qt5LinguistTools"
Qt5LinguistToolsConfig.cmake
qt5linguisttools-config.cmake
Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
set "Qt5LinguistTools_DIR" to a directory containing one of the above
files. If "Qt5LinguistTools" provides a separate development package or
SDK, be sure it has been installed.
Unknown CMake command "qt5_add_translation".
~~
This is tiresome. But I have to do it because my bizarre Qt drawing failures
in the IDE haven't stopped, so I really do have to test the Qt5 branch. I
can't shake the feeling that there must be an easier way to configure, than
to add every Qt module's path by hand.
Help...?
hjh
_______________________________________________
sc-dev mailing list
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-dev/
search: http://www.listarc.bham.ac.uk/lists/sc-dev/search/
Loading...