Maybe you haven't built QSA in debug mode?Originally Posted by detheang
Maybe you haven't built QSA in debug mode?Originally Posted by detheang
Where can I force to build an release?
I only type:
./configure
make
and both commands has no parameter to set release mode!
Should I change the makefiles?
What does "configure -help" prints? Did you try "configure -debug"?Originally Posted by detheang
configure -help prints:
...:/usr/lib/qsa-x11-opensource-1.2.0 # ./configure -help
Usage: configure [options]
Options:
-help Display this information
-thread Force a threaded configuration.
-prefix Installation prefix
-no-ide Excludes QSA Workbench from the qsa library.
-no-editor Excludes the QSA Editor from the qsa library.
In spite of this I tried -release or -debug
but it prints: unkown option.
Here is the whole log of my compilation!
compile.txt.bz2
It is strange that qt4 is installed to /usr/lib64/qt3
I'm sure that qt4 is installed, because if I try to compile:
#include <qapplication.h>
#include <qpushbutton.h>
#include <qfont.h>
int main( int argc, char **argv ) {
QApplication app( argc, argv );
QPushButton quit( "Quit!", 0 );
quit.resize( 75, 30 );
quit.setFont( QFont( "Arial", 18, QFont::Bold ) );
QObject::connect( &quit, SIGNAL(clicked()), &app, SLOT(quit()) );
app.setMainWidget( &quit );
quit.show();
return app.exec();
}
there is an error because of app.setMainWidget( &quit )
Should I deinstall the rpm of qt4 and better compile it by hand?
There is no such method in Qt4.Originally Posted by detheang
IMO this won't change anything, I've downloaded QSA and get similar problems --- it only builds the debug version and when it try to compile examples I get:Should I deinstall the rpm of qt4 and better compile it by hand?I think that there's something wrong with QSA and it doesn't work with Qt 4.1.0./home/users/jacek/Qt/lib/libQt3Support_debug.so.4: undefined reference to `.LC465'
I deinstalled qt4.1 and installed a fresh qt3.3(original rpm from suse).
Then I download qsa3.3 and try to compile,
but I get the same error:
...
g++ -o spreadsheet .obj/main.o .obj/sheetinterface.o .obj/spreadsheet.o .obj/addscriptdialog.o .obj/qmake_image_collection.o .obj/moc_sheetinterface.o .obj/moc_spreadsheet.o .obj/moc_addscriptdialog.o -L/usr/lib64/ -L/usr/lib/qt3/lib64/ -L/usr/X11R6/lib64/ -lqsa -L../../lib -lqt-mt -lXext -lX11 -lm -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lqsa
collect2: ld returned 1 exit status
make[3]: *** [spreadsheet] Fehler 1
make[3]: Leaving directory `/usr/src/debug/qsa-x11-free-1.1.3/examples/spreadsheet'
make[2]: *** [sub-spreadsheet] Fehler 2
make[2]: Leaving directory `/usr/src/debug/qsa-x11-free-1.1.3/examples'
make[1]: *** [sub-examples] Fehler 2
make[1]: Leaving directory `/usr/src/debug/qsa-x11-free-1.1.3'
make: *** [run-make] Fehler 2
I think that qsa hates me (or it hates the suse 10 rpm ... or my x86-64)
I'm really depressed!
Maybe there is a RPM package for SuSE with QSA?
There are several rpms for suse 9.x but no for suse 10.
In spite of this, I tried to take one for suse 9.3 and it runs
without problems.
Thanks for your help.
(I hope that Qt4.1 and QSA is in OpenSuSE 10.1 already integrated)
Bookmarks