[Scribus] bus error starting scribus
Paul
paulf.johnson
Sat Jul 5 00:23:40 CEST 2003
Hi,
> Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
> Thread model: posix
> Apple Computer, Inc. GCC version 1175, based on gcc version 3.1
> 20020420 (prerelease)
Are you able to compile a simple Qt app with this?
Whip this into a text editor, compile and see what you get out when you
try to run it? I vaguely remember a problem I had with gcc 3.1 and Qt
yonks back - I really do mean vaguely as well!
#include <qapplication.h>
#include <qwidget.h>
#include <qpushbutton.h>
int main(int argc, char **argv)
{
QApplication a(argc, argv);
QWidget mainwindow;
mainwindow.setMinimumSize(200, 100);
mainwindow.setMaximumSize(200, 100);
QPushButton helloworld("Hello World!", &mainwindow);
helloworld.setGeometry(20, 20, 160, 60);
a.setMainWidget(&mainwindow);
mainwindow.show();
return a.exec();
}
If that works (and it really should!) then fine. If it doesn't then it
may be worth compiling Qt using your compiler - Qt is one of the oddest
libraries I've seen in that it has to be compiled for a specific
compiler, whereas something like wxWindows can be used with any
compiler, if you change compiler, you have to recompile Qt
Let us know how you get on.
TTFN
Paul
--
The world is throwing away oppressive regimes
Which don't allow people to choose.
Wars are fought to topple these people.
Yet the folks who do this, still use Windows.
Double standards or not understanding why they did it?
More information about the scribus
mailing list