Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: rbutil-qt, compile options

Re: rbutil-qt, compile options

From: B. Keroack <mutualaid_at_gmail.com>
Date: Mon, 30 Jul 2007 19:28:20 -0400

On Tue, 2007-07-31 at 00:52 +0200, Dominik Riebeling wrote:

> During commit r14077 (see
> http://svn.rockbox.org/viewvc.cgi/trunk/rbutil/rbutilqt/rbutilqtfrm.ui?r1=14076&r2=14077
> ) I unintentionally had some of these properties set. As this is in a
> ui file (which is xml itself) you could easily just remove the
> affected lines. OTOH, as your Qt is built without accessibility
> support IMO Qt's uic should be able handling this by ignoring these
> properties in the ui files. I.e. currently this is a uic issue, not an
> issue of rbutilqt itself. Which version of Qt are you running? I
> assume 4.3.0?

Yes, I'm using Qt 4.3.0.

> Once the application has been built there is no requirement for the
> accessibility plugin, if it's not present the application just runs
> without accessibility support.

That would be ideal but apparently is not happening at least in my case.

After manually removing the accessibility strings from rbutilqtfrm.ui and
installbootloaderfrm.ui the compile works until the final linkage:

g++ -o rbutilqt rbutilqt.o main.o install.o httpget.o configure.o zip.o
unzip.o installzip.o installbootloader.o installbl.o installzipwindow.o
progressloggergui.o ipodpatcher.o sansapatcher.o irivertools.o md5sum.o
ipodio-posix.o sansaio-posix.o moc_rbutilqt.o moc_install.o
moc_httpget.o moc_configure.o moc_installzip.o moc_installbootloader.o
moc_installbl.o moc_installzipwindow.o moc_progressloggerinterface.o
moc_progressloggergui.o qrc_rbutilqt.o -L/usr/lib64/qt4 -lQtGui
-L/usr/lib64 -L/usr/lib64/qt4 -L/usr/lib -lpng -lSM -lICE -lXrender
-lXrandr -lXfixes -lXcursor -lfreetype -lfontconfig -lXext -lX11
-lQtNetwork -lQtCore -lz -lm -lrt -ldl -lpthread
install.o: In function `Install::browseFolder()':
/home/bk/build/rb/rockbox/rbutil/rbutilqt/install.cpp:90: undefined
reference to `operator<<(QDebug, QDir const&)'
installbl.o: In function `InstallBl::browseOF()':
/home/bk/build/rb/rockbox/rbutil/rbutilqt/installbl.cpp:83: undefined
reference to `operator<<(QDebug, QDir const&)'
installbl.o: In function `InstallBl::browseFolder()':
/home/bk/build/rb/rockbox/rbutil/rbutilqt/installbl.cpp:67: undefined
reference to `operator<<(QDebug, QDir const&)'
installzipwindow.o: In function `InstallZipWindow::browseFolder()':
/home/bk/build/rb/rockbox/rbutil/rbutilqt/installzipwindow.cpp:61:
undefined reference to `operator<<(QDebug, QDir const&)'
collect2: ld returned 1 exit status
make: *** [rbutilqt] Error 1

Again, I assume a problem with Qt debug support.
Received on 2007-07-31


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa