Qt3 configurint for multithreading...
I am trying to write some multithreadable Qt programs. I have qt3 installed on my laptop, and I am alraedy able to do normal Qt programs. However, I thought that if you want to use QThread and stuff like that you have to reconfigure it, or maybe im wrong.
I read somewhere that you can reconfigure qt by doing make clean in the qt directory then do configure -thread. However, there is no makefile in my qt3 directory, and I am confused. How do I configure Qt to do my multithreading stuff?? Please give any info you feel is useful... |
I try to do
class UpdateThread : QThread { <class implmentation> }; and i get a parse error befor the { on teh first line, and a parse error befor the last }. If I take QThread out, and replace it with AnalogClock (another class in the file), then it compiles fine with no errors. Any ideas? I think it has something to do with thread configuration... |
Whether your Qt is thread-enabled or not is
reasonably easily determined ... ls -l `locate libqt-mt` If it's a real .so file, not a symlink to a normal libqt, you're fine. Cheers, Tink |
All times are GMT -5. The time now is 06:45 AM. |