LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-29-2004, 10:38 PM   #1
zombyLINUX
LQ Newbie
 
Registered: Mar 2004
Distribution: SuSE 9.0 KDE 3.1
Posts: 26

Rep: Reputation: 15
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...
 
Old 03-29-2004, 11:45 PM   #2
zombyLINUX
LQ Newbie
 
Registered: Mar 2004
Distribution: SuSE 9.0 KDE 3.1
Posts: 26

Original Poster
Rep: Reputation: 15
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...
 
Old 03-30-2004, 12:02 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Multithreading dlublink Linux - Software 1 10-25-2005 12:23 PM
Slow multithreading with 2.6.13 andy753421 Linux - Software 8 09-16-2005 04:29 PM
Multithreading jayashrik Programming 1 07-20-2005 04:13 AM
java: multithreading ashirazi Programming 5 06-23-2005 09:50 AM
Configurint a wireless usb device cucolin@ Linux - Wireless Networking 0 07-09-2004 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration