Ticket #37 (closed task: fixed)

Opened 2 years ago

Last modified 22 months ago

pclinuxos problem using 0.11

Reported by: touch Owned by: daelstorm
Priority: minor Milestone:
Component: museeq Version: 0.1.11
Keywords: qt lrelease Cc:

Description

museeq 0.1.11 would not compile on pclinuxos. The scons building process failed to find the qt program lrelease for translation. The file was located /usr/lib/qt3/bin but the build process could not find it. I strongly recommend against using scons for any kind of project. The amount of failures for sources using scons, is extremely high in my experience. museeq 0.1.10 got past the translation qt error due to to translations not being added to museeq until version 0.1.11 but failed badly with this output.

g++ -fPIC -Wall -pipe -g -DENABLE_BINRELOC=1 -I/usr/lib/qt3/include -I. -I/usr/local/include -I/usr/include -I/usr/X11R6/include -I/usr/include/libxml++-2.6 -I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/qt3/mkspecs/linux-g++ -I. -c -o build-i686-linux/museeq/mainwin.o build-i686-linux/museeq/mainwin.cpp build-i686-linux/museeq/mainwin.cpp: In member function `void MainWindow::changeTheme()': build-i686-linux/museeq/mainwin.cpp:654: error: syntax error before `+' token build-i686-linux/museeq/mainwin.cpp:655: error: request for member path' in dir(...)', which is of non-aggregate type `QDir ()(...)' scons: *** [build-i686-linux/museeq/mainwin.o] Error 1 scons: building terminated because of errors.

Attachments

Change History

Changed 2 years ago by daelstorm

Yes, that bug is 0.1.10 is known, and fixed in newer versions.

The SCons build script for museeq in Subversion looks a bit harder for lrelease (checking the path, as well as the QTDIR+"/bin/").

Also, if you don't have a translations, lrelease won't be called.

Changed 2 years ago by daelstorm

Example:

scons MUSEEQTRANSLATIONS=0

Changed 22 months ago by gandalf

  • status changed from new to closed
  • resolution set to fixed

Fixed since two version.

Add/Change #37 (pclinuxos problem using 0.11)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.