Building common (tried on UbuntuStudio and on Fedora)

Forums

Hello,
I cannot build neither on Ubuntu-Studio nor on Fedora.

I have installed the latest Version of Qt (5.8) right before I tried to build.
Configure tells me:
...
checking for qmake-qt5... no
checking for qmake... /usr/bin/qmake
checking for Qt major version... qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory

... and right - there is no qmake in this folder. in THIS folder is one executable qdbus
In /usr/lib/x86_64-linux-gnu/qt5/bin/ is qtwaylandscanner

I tried even:
./configure --prefix=/opt --with-qt5=/opt/Qt/5.8
with the same result.

further on:
configure: error: qmake-qt5 not found in current PATH. Maybe QT development environment isn't available. (qt5-devel)

/home/frank/Downloads/qtractor-0.8.0# apt-get install qt5-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package qt5-devel

Any hint?
(The output from above comes from Ubuntu-Studio)

Permalink

can't tell it for sure, but try installing qtchooser and setting the QT_SELECT environment variable accordingly:

export QT_SELECT=5

but wait, you're using a non-distro packaged Qt5 installation, right? probably you got it directly from http://qt.io and, i suppose, it's installed under /opt/Qt/5.8. now, i guess, you can try the build again, just make sure you get the configure option right "--with-qt5=/opt/Qt/5.8" might not be enough! as far as i can tell, it should be more explicit on the compiler platform you're into, like "--with-qt5=/opt/Qt/5.8/gcc_64"... could it be the case?

however, if you have another Qt5 installation around, possibly the official distro-supplied one, then you'll probbably need to make up with a new custom symlink for qmake-qt5 so that ./configure --with-qt5=/opt/Qt/5.8/gcc_64 will get the right configuration. please, do only this if you're sure there's yet another Qt5 installation out there:

cd /opt/Qt/5.8/gcc_64/bin
sudo ln -s qmake qmake-qt5

hth.
cheers

Hi and thanks a lot. That was it.
/usr/bin/qmake is a link to qtchooser anyway.

Now I hit another problem: configure succeeds but reports no support for LV2. I use LV2 plugins heavily in Ardour.
I installed the lv2-dev package and re-ran configure.
Everything related to LV2 support is reported as no.
configure --help says that for all this stuff default is yes.

Some thought?

Permalink

configure: error: qmake-qt5 not found in current PATH

I have no idea what to do nor what you guys are talking about, I'm new to linux and i have this problem.

what distro? have you tried to install all the build requirements?
if on a debian/ubuntu based distro, try this before you start building from source:

sudo apt-get install qtbase5-dev qtbase5-dev-tools qttools5-dev-tools libqt5x11extras5-dev

and probably all the rest, unrelated to Qt5 per se:

sudo apt-get install libjack-dev libasound2-dev libsndfile-dev ladspa-sdk libvorbis-dev
sudo apt-get install libsamplerate-dev librubberband-dev dssi-dev liblo0-dev
sudo apt-get install liblilv-dev libsratom-dev libsord-dev libserd-dev libsuil-dev lv2-dev

however, if you don't know what all this' about you better go along withkxstudio and forget all the talking ;)

hth.
cheers

barbosa@barbosa-Ubuntu:~/qtractor-0.8.3$ ./configure --prefix=/qtractor-0.8.3
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for g++ major version... 5
checking for qmake-qt5... no
checking for qmake... /usr/bin/qmake
checking for Qt major version... qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
0
configure: error: qmake-qt5 not found in current PATH. Maybe QT development environment isn't available. (qt5-devel)

I have just installed those libs and the problem continues, yes I am using ubuntu. Thanks for the attention.

Add new comment

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.