Results 1 to 3 of 3

Thread: Function ioperm() is included into Qt4

  1. #1
    Join Date
    Oct 2006
    Posts
    6
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question Function ioperm() is included into Qt4

    I run Qt4.1.4 on Linux SuSE 10.1
    I want to use ioperm(), so I add #include <unistd.h>.
    The error message: ‘ioperm’ was not declared in this scope.
    What is the include path and/or library path I have to export?

    If Qt4.1.4 is not used, ‘ioperm’ can pass the gcc compiler!

    Thank you for your help.

    Rüd

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,518 Times in 1,388 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Function ioperm() is included into Qt4

    Try:
    Qt Code:
    1. #include <sys/io.h>
    To copy to clipboard, switch view to plain text mode 
    J-P Nurmi

  3. The following user says thank you to jpn for this useful post:

    rud_1023 (26th October 2006)

  4. #3
    Join Date
    Oct 2006
    Posts
    6
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Cool Re: Function ioperm() is included into Qt4

    Great!
    I replace <asm/io.h> with <sys/io.h>, then ioperm() can be included.
    Thank you again.

    Rüd

Similar Threads

  1. Link Errors
    By magikalpnoi in forum Qt Programming
    Replies: 5
    Last Post: 25th September 2006, 22:04
  2. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  3. Qt 4.1.4 plugin QPSQL
    By jcr in forum Installation and Deployment
    Replies: 4
    Last Post: 22nd June 2006, 22:55
  4. I got two problems when I used static compiled library of QT4
    By qintm in forum Installation and Deployment
    Replies: 8
    Last Post: 20th April 2006, 08:52
  5. use libs under qt4
    By raphaelf in forum Qt Programming
    Replies: 6
    Last Post: 27th February 2006, 17:59

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.