You are here

qtractor - problem compiling and request

Hey Rui,

Me again - back at it once again trying to find the perfect Linux software. :)

I'm trying to compile the latest qtractor on Debian testing. I have installed all the prereqs, and ./configure passes fine. Here's my error:

make[1]: Entering directory `/home/josh/src/qtractor-0.1.3'
g++ -c -pipe -msse -mfpmath=sse -ffast-math -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtXml -I/usr/include/qt4 -Isrc -I/usr/include/qt4 -I/usr/local/include -I/usr/include -I/usr/include/qt4 -I. -I. -o qtractorAudioFile.o src/qtractorAudioFile.cpp
src/qtractorAudioFile.cpp: In static member function ‘static qtractorAudioFileFactory& qtractorAudioFileFactory::getInstance()’:
src/qtractorAudioFile.cpp:45: error: ‘::atexit’ has not been declared
make[1]: *** [qtractorAudioFile.o] Error 1
make[1]: Leaving directory `/home/josh/src/qtractor-0.1.3'
make: *** [qtractor] Error 2

Any idea what's causing this? I did some searching on the Internet for this error, but I can't find anything that makes sense.

Now for the request...

qtractor really needs a dark theme, something "flat-looking" and easy on the eyes. I'm going to reference a Windows closed-source application at my own peril:


Note the very dark "flat" appearance. What do you think?

Thanks again,


rncbc's picture

Hi Josh,

welcome back, once again ;)

your compiler problem is most probably due to you're now using g++ 4.3 and this new compiler is more stringent than the one I've been using when 0.1.3 (frugal damsel) was released.

don't sweat, there's hope for your case: you'll have to apply a patch though, grab it and apply like this:

cat qtractor-0.1.3-stdlib.patch | patch -p1

in alternative you can check out the current greatest and latest from CVS, which already features full DSSI/VSTi hosting for MIDI tracks. try it out

about the dark theme you're welcome to use qtconfig; just try changing the 3D effect and background colors to something darker as your liking and then "tune palette..." option might be handy to tweak other particular element colors.

take care that this way you're about changing the color scheme for all Qt4 applications, not only Qtractor. but that maybe just what you really want ;)


Rui, you are THE MAN!

The program compiled just fine with your patch. One side note: Thank you SO much for being so kind as to provide a patch and instructions on how to apply it. Guys like me struggle with that kind of stuff at times, and it is very refreshing to see someone have so much consideration for their users. Really, thank you. :)

Also, I had no idea qtconfig existed. I'll get right to work on finding dark themes and tweaking my own.

Thanks again!!!



When you import a clip, what is the magic key combination to timestretch a clip of audio?


rncbc's picture

There's no magic key combination, yet. There's currently two ways to time-stretch an audio clip:

1) in clip properties dialog (Edit/Clip/Edit... or double-click on the clip region) you can tweak the time-stretching coefficient of the audio material (in percentage); this goes independently of clip length which you can also tweak otherwise;

2) by SHIFT+dragging one of the audio clip edges (left or right) to a new nearby location, most often to fit the clip length into a bar multiple; the clip length will change and the audio will be time-stretched in proportion to the change in length. Dragging the edges without pressing SHIFT key will change the clip length but won't affect audio contents;

The latter might by the magic you're just asking for, so let's try it :)


I've been using for a couple of weeks without much problem. I installed it via RPM (I'm using Fedora Core 7). I saw that 0.2.1 is out now and has some features I'd like to try, but it's not available anywhere in a Fedora RPM. So, I DLed the source, and got all the requirements installed, including all of the optional modules except VST and rubberband. (I actually have the rubberband executable on my system but downloaded the source anyway, but it won't compile)

Anyway, I execute './configure --with-librubberband=no' and it gets quite a way through that process before stopping with an error that it cannot find rubberband. I also tried './configure --without=librubberband' but it stops at the same point. I can't go any further from there.

How do I get around this so I can end up with a working 0.2.1 version?

I really like QTractor so far. I'll be glad when the tempo map and ability to changes time signatures within a song are added though.

Thanks for all the work, and I'm looking forward to what's next!!


rncbc's picture

hi, welcome aboard :)

you don't need to tell anything to configure if you don't have librubberband around, the ./configure step will check whether you have it or not and report, e.g.:

  Pitch-shifting support (librubberband) . . . . . .: no

however, i've been recently noticed that a 0.2.1 rpm is available from Planet CCRMA. maybe a librubberband package should be there provided as well.


Add new comment