Results 1 to 4 of 4

Thread: forking in QT

  1. #1
    Join Date
    Mar 2008
    Posts
    15
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    3

    Default forking in QT

    Hello

    There's a portable way of forking for Linux,Unix or MS Windows?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: forking in QT

    I wouldn't for a Qt app if I were you... But if you really have to, you'll need platform dependent means. As far as I know there is no concept of forking in Windows - you'll need to spawn a new process there.

  3. #3
    Join Date
    Mar 2008
    Posts
    15
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    3

    Default Re: forking in QT

    so, how can a new process is created in QT? isn't there something like fork()?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    3
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: forking in QT

    See QProcess.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.