QT 4.2] Stylesheets probleme
Verfasst: 9. November 2006 22:32
hi
doch nun test am orginal example habe ich micht entschlossen mal in mein
source zu integrieren aber nun kommt kurz vor schluss fehler wegen der main.cpp auf:
doch nun test am orginal example habe ich micht entschlossen mal in mein
source zu integrieren aber nun kommt kurz vor schluss fehler wegen der main.cpp auf:
Code: Alles auswählen
./temp\obj\main.o(.text+0x56):main.cpp: undefined reference to `qInitResources_s
tylesheet()'Code: Alles auswählen
#include <QtGui>
#include <QObject>
#include <rshare.h>
#include <gui/MainWindow.h>
#include <util/process.h>
#include <util/string.h>
#include "rsiface/rsiface.h"
RsIface *rsiface = NULL;
int main(int argc, char *argv[])
{
Q_INIT_RESOURCE(stylesheet);
QStringList args = char_array_to_stringlist(argv+1, argc-1);
NotifyBase callback; /* for callback functions - we'll worry about these later */
rsiface = new RsIface(callback); /* create the retr interface,
and save it to the global pointer
*/
Rshare rshare(args, argc, argv);
MainWindow w;
w.show();
return rshare.exec();
}