#include <Qt/someheader> not portable
greeneg at phoenuxos.com
Fri Feb 3 23:32:03 GMT 2006
On Friday 03 February 2006 6:30 pm, Alexander Neundorf wrote:
> e.g. on my linux box there is a directory include/Qt/, which contains among
> others the QtGlobal header. On some other systems (Windows I think), this
> directory also exists, but doesn't contain new-style headers, i.e. no
> QtGlobal, but only qglobal.h. Now on OS X with Qt build as a framework this
> directory doesn't exist at all.
> So: don't use headers from include/Qt/, this is not portable:
> #include <Qt/qwidget.h>
> #include <QtGui/QWidget>
> #include <QWidget>
> #include <QtGui/qwidget.h>
> #include <qwidget.h>
Correct, since these are the non-public parts of the Qt API.
Gary L. Greene, Jr.
Sent from uriel
6:31pm up 4:59, 7 users, load average: 0.09, 0.06, 0.08
Developer and Project Lead for PhoeNUX OS.
check out http://www.phoenuxos.com/ for more info.
EMAIL : greeneg at phoenuxos.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the kde-core-devel