[Qt] Qt Embedded
Den Jean
Den.Jean at telenet.be
Wed Oct 1 18:43:39 CEST 2008
On Wednesday 01 October 2008 03:11:28 Terry Kemp wrote:
> qtx11waitforwindowmanager is in the x86_64 .so but not the arm .so
> I assume this is correct with QTOPIA defined.
I only define LINUX and QTOPIA, Qt has much more refinement.
This is one is available if Q_WS_X11 is defined
#if defined(Q_WS_X11)
extern void qt_x11_wait_for_window_manager(QWidget *mainWin);
qt_x11_wait_for_window_manager(mainWin);
#endif
Here are my current platform definitions:
"BINUX" = ["Q_WS_X11","Q_OS_LINUX","Q_OS_UNIX"]
"MSWINDOWS" = ["Q_WS_WIN"]
"DARWIN" = ["Q_WS_MAC","Q_OS_UNIX"]
"QTOPIA" = ["Q_WS_QWS", "Q_OS_LINUX","Q_OS_UNIX", "QT_NO_SESSIONMANAGER"]
So if you compile with the define QTOPIA and not with BINUX then it should not be there.
for the lcl code: use BINUX(qt4.pas) and not LINUX(fpc) to surround these calls.
> No clue on the QFileDialog_filters one.
This one has been deprecated by the Trolls. I can add DEPRECATED to the defines, there are not
many, but this way you will not notice easily you are using a deprecated function.
More information about the Qt
mailing list