You are here

building on Mint

Hi Rui,

we like to build QTractor from git, because we would love to use the JackTransport button option.
I have some experience in building Csound from scratch - that works - but i definitely need your help in building QTractor.

We would like to have a Qtractor without all optional dependencies, because we only want to use MIDI with QTractor.
In addition, we are hoping we can have our own build AND the official build on the machine if that is possible.

Several questions come to mind on how to build it with the required building packages:
1. i think i need QT5. I have attached a screenshot of what i think i will be needing for QT5. Is this correct?
2. i guess that libsndfile1-dev is needed?
3. libjack-jack2-dev? We are running jack2.
4. what are the C++ class library and tools that we need?
5. is libasound2-dev for ALSA okay?
6. for the required LADSPA, do i need lv2-dev?
7. What is the command to build QTractor without all the optional dependencies?

I know it is a lot to ask, and perhaps we better wait for the official version...what do you think?

Forums: 
rncbc's picture

take a look at debian/control file that you find on the git working tree, take special note to that Build-Depends: line...

anyway, the mandatory minimal dependencies are the following ones:

qtbase5-dev
qtbase5-dev-tools
qttools5-dev-tools
qtchooser
libjack-dev
libasound2-dev
libsndfile-dev
ladspa-sdk
zlib1g-dev

all the rest being optional, i'd say that you loose nothing when including them all as if a fully-featured build.

you might also wish to have a look at debian/rules, where you probable see that the correct build sequence is something that boild down to like the following:

export QT_SELECT=5
./autogen.sh
./configure --prefix=/usr && make

and finally, if and after the above succeeds:

sudo make install

hth.
cheers

What package is missing on my system?

./autogen.sh
make: aclocal: Command not found
make: *** [configure] Error 127

rncbc's picture

sorry, it's automake.

by the way, you certainly will need pkg-config installed as well (both are listed on the debian/control file as build-depends, remember?).

hth.
cheers

Nearly there i think:

menno@menno-System-Product-Name:~/Downloads/qtractor-master$ sudo make install
[sudo] password for menno:
lupdate: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/lupdate': No such file or directory
make: *** [translations_lupdate] Error 1

i'm sure i did "export QT_SELECT=5" so i don't know why it is looking for qt4?

rncbc's picture

that's weird... to say the least... however, i must tell that i am no ubuntu/debian expert, not even an user... all things i said was all just theory :)

anyway, the missing parts and errors on that `make install` result just relates to translations or i18n and what not... if you got that far you probably have a pristine and sane binary ready on src/qtractor -- just run it or place it wherever you feel is most appropriate ;)

byee

yes it works! It seems, we have a mean and lean qtractor machine !

i had to add libqt5x11extras5-dev (>= 5.1) as well to the list of dependencies, but then "make" runs just fine. Unable to install, i have moved the home build qtractor to /home/bin, created a shortcut to /home/bin/qtractor/src/qtractor and placed it on the desktop.
We are pleased with the JackTransport button - big thanks.

Add new comment