building on Mint

Forums

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?

Permalink

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

Permalink

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?

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

Permalink

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

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.
CAPTCHA
Enter the characters shown in the image.