Results 1 to 4 of 4

Thread: ask bout qserialdevice

  1. #1
    Join Date
    Apr 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default ask bout qserialdevice

    I'm trying to compile a qserialdevice source code from this site https://gitorious.org/qserialdevice, but it's not working, the problem is that compiler cannot find -ludev, anyone could give me some help please?, thank you, regard

  2. #2
    Join Date
    Jan 2009
    Location
    Russia
    Posts
    309
    Thanks
    2
    Thanked 43 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ask bout qserialdevice

    Install libudev-devel packages for your Gnu/Linux distributive.

    Or (for QSerialDevice 2.0) if you do not need Udev, then do comment on /examples:

    Qt Code:
    1. #linux*:DEFINES += HAVE_LIBUDEV
    To copy to clipboard, switch view to plain text mode 

    PS: But better use the QtSerialPort : http://qt-project.org/wiki/QtSerialPort

  3. #3
    Join Date
    Apr 2012
    Posts
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: ask bout qserialdevice

    Thank you, is QTSerialPort work in QT 4?, because it's said that The QtSerialPort module is an add-on for the Qt5 library

  4. #4
    Join Date
    Jan 2009
    Location
    Russia
    Posts
    309
    Thanks
    2
    Thanked 43 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: ask bout qserialdevice

    Yes, it works on Qt4., Don't worry

Similar Threads

  1. QSerialDevice on Symbian
    By hubbobubbo in forum Qt Programming
    Replies: 2
    Last Post: 2nd October 2011, 19:00
  2. qSerialDevice and WINCE is it possible to run it ?
    By ssaku in forum Qt for Embedded and Mobile
    Replies: 5
    Last Post: 2nd September 2011, 16:19
  3. QSerialDevice cause GUI to freeze
    By dkoryagin in forum Qt Programming
    Replies: 2
    Last Post: 26th September 2010, 17:13
  4. QSerialDevice
    By clinisbut in forum Qt Programming
    Replies: 2
    Last Post: 23rd October 2009, 13:30
  5. new library QSerialDevice
    By kuzulis in forum Qt Programming
    Replies: 2
    Last Post: 13th July 2009, 05:42

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.