[Qt-interest] Win64 declaration of Sleep()?
karl-heinz reichel
khReichel at gmx.de
Sat Jan 3 10:10:24 CET 2009
Hi robert,
issue 3 :
You are working with c++ ( ;-) ), so why not deriving your own Sleephelper
class from QThread,
Which has public static sleep method functionality??
Regards
Karl-Heinz
> -----Ursprüngliche Nachricht-----
> Von: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] Im Auftrag von Robert Hairgrove
> Gesendet: Freitag, 2. Januar 2009 19:32
> An: qt-interest at trolltech.com
> Betreff: Re: [Qt-interest] Win64 declaration of Sleep()?
>
> Scott Aron Bloom wrote:
> > amd this has what todo with QT?
> > -Scott
> > --Sent from my mobile device--
>
> It has to do with Qt because:
>
> (1) I am interested in writing software which runs on all platforms
> supported by Qt, and WIN32 just happens to be one of them;
>
> (2) This issue doesn't present itself under other OS than Windows;
>
> (3) There is no system-wide "sleep" function defined in the Qt
> libraries, and the one(s) that is/are are protected member functions of
> QThread, therefore not readily accessible from outside the framework.
>
> (4) Since I cannot (and don't want to) include any Windows header files
> in my projects, I need to declare such functions as necessary (within
> #ifdef ... #endif guards) such as I have done.
>
> OK??
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list