請問大家, 本人是新手.我的program 有什麼問題? 為什麼不能 link "qte-mt" library?
#include <qthread.h>
class MyThread : public QThread
{
public:
virtual void run();
};
void MyThread::run()
{
for(int count=0;count<2000;count++)
{
}
}
...
我在****.pro文件中用了"CONFIG += qt warn_on release thread" or "CONFIG += thread" 同樣地有Error.
/usr/bin/ld: cannot find -lqte-mt
collect2: ld returned 1 exit status
我的系統是FriendlyARM mini2440 + 7"LCD. 使用的是Qtopia-2.2.0, arm-linux-gcc是4.3.2, Host OS是Fedora10.
請問大家可否給我一些建議!如何解決thread 編譯的問題.
謝謝