Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-11-2004, 10:42 AM   #1
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, 10:47 AM   #2
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.



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

All times are GMT -5. The time now is 02:47 AM.

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