KDevelop 2.1 problem with QThread

Harald Fernengel harry at kdevelop.org
Sun Apr 28 12:24:07 BST 2002


Hi,

On Sunday 28 April 2002 06:50, you wrote:
> I include <qthread.h> to my proj and is ok.
> Then I do this:
> public Log_impl: Public Log, Public QThread{
>
> public:
> virtual void run();
> };
>
> and set to link with -lqt-mt instead of -lqt
>
> It gives compile error:
>
> log_impl.h:18:parse error before {
> ( points to public Log_impl: Public Log, Public QThread{ )
>
> Any comments?

try "class Log_imp: public Log, public QThread {", note that C++ is a case 
sensitive language ;) Also make sure that the header file where "Log" is 
declared gets included.

Best regards,
Harry

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list