hi folks,
i have got following code and i am having a little bit of problem
header
problem is if i get rid of "Qt Code:
#include <QThread> class Fthrclass: public Qthread { public: Fthrclass(); virtual void run(); };To copy to clipboard, switch view to plain text modeublic QThread" and "virtual void run" it builds properly otherwise it gives me error "expected class name before { token"
i have no idea whats happening here, as far as i can see syntax is correct
i m using QT4.7.1 and qtcreator (g++ for compiler) on linux
OH crap! i found error! it was QThread instead of Qthread in inheritance...thanx anyways guys, i specially registered to qtcentre.org to ask this question and found answer myself the very next time i looked at my code, lolz
Bookmarks