LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-11-2004, 11:42 AM   #1
sooraj_pathe
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
problem of using fork() in QT Designer


i am doing a project in linux using Qt Gui interface where i need to fork a process using fork() system call.when i compile the program,it
reports the error "fork() is not declared".but i knew that fork() doesn't need any header files.

plz help me to get rid of this problem.
 
Old 03-11-2004, 11:47 AM   #2
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 389

Rep: Reputation: 52
I think you need to:

#include <sys/types.h>
#include <unistd.h>

to use fork.

Lyle
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
QT3 designer problem tux89 Programming 1 03-20-2004 11:33 AM
problem of using fork() in QT Designer sooraj_pathe Linux - Software 1 03-11-2004 12:04 PM
fork() doesn't work in Qt Designer cbalaji Linux - Software 0 02-23-2004 01:18 AM
Fork problem Rajneesh Programming 3 12-22-2003 07:45 AM
qt designer problem dfuse Linux - Software 0 09-16-2003 10:10 AM


All times are GMT -5. The time now is 07:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration