|
|
Thank you!
including the qt stuff first did it :)
R. Reucher wrote:
On Sun June 1 2008 13:31, Simon Wiesmann wrote:
Here's the main.cpp:
#####################################
#include "qgero.h"
extern "C"
{
#include <X11/X.h>
#include <X11/Xlib.h>
#include <X11/keysym.h>
#include <X11/XF86keysym.h>
}
#include <QtGui>
#include <QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Qgero w;
w.show();
return a.exec();
}
What am I missing? Is there a problem, since Qt already uses Xlib stuff?
Noit sure, but I assume it is something like that... I'd just not
include the xlib stuff, or put the neccesarray X11 #include's after
the Qt-ones (I'm mostly sure you don't need to include them
explicitly...).
HTH, René
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|