Results 1 to 3 of 3

Thread: Detect GPIO pins in QT

  1. #1
    Join Date
    Feb 2011
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Unix/X11 Windows

    Default Detect GPIO pins in QT

    Hi friends,

    I have one doubt in Qt programming.
    I am currently using begal board with OMAP processor. Now i have attach one key board with it.

    Now i want to detect GPIO pins of processor. How can i detect GPIO in QT? Can any body suggest me what class or widget i can use in Qt?

    Please reply me.

    Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Napoli, Italy
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Unix/X11 Windows

    Default Re: Detect GPIO pins in QT

    I think this is a very platform specific task.

    Nokia says
    "Qt is a cross-platform application and UI framework with APIs for C++ ....."

    If you need to have access to plaftorm (Hardware or Software) speficic resources, you have to use platform specific API.
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Sep 2009
    Thanked 348 Times in 333 Posts
    Qt products

    Default Re: Detect GPIO pins in QT

    I'll assume your using Linux with OMAP, so you'll typically have a device called /dev/GPIO which you can read with standard Qt file i/o functions.

Similar Threads

  1. Detect out of coverage wit Qt
    By hubbobubbo in forum Qt Programming
    Replies: 0
    Last Post: 1st February 2011, 09:16
  2. how to detect if the NIC is up and running
    By sky in forum General Programming
    Replies: 0
    Last Post: 21st December 2010, 09:52
  3. Qt embedded - gpio event
    By steffen in forum Qt for Embedded and Mobile
    Replies: 3
    Last Post: 24th July 2009, 15:44
  4. fn+f1 keypress detect
    By oguzy in forum Qt Programming
    Replies: 1
    Last Post: 16th November 2008, 16:21
  5. Detect which OS?
    By December in forum Qt Programming
    Replies: 6
    Last Post: 24th May 2007, 23:01


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.