Results 1 to 4 of 4

Thread: QSerialDevice -ludev PROBLEM TQ2440

  1. #1
    Join Date
    Dec 2010
    Posts
    14
    Qt products
    Qt4 Qt/Embedded

    Default QSerialDevice -ludev PROBLEM TQ2440

    Hi i'm trying to use an example enumerator in qserialdevice examples but i don't have "ludev" in arm-none-linux-gnueabi how to add it to arm-none-linux-gnueabi.Thanks for help. Earlier i compiled Qt embedded and it is working.

    Qt Code:
    1. make[2]: Wejście do katalogu `/home/marcins/Pobrane/BuildExamples-build-embedded/examples/enumerator'
    2. arm-none-linux-gnueabi-g++ -march=armv4t -mcpu=arm920t -Wl,-O1 -Wl,-rpath,/usr/local/QtEH/lib -o release/enumerator obj/main.o obj/enumerator.o obj/moc_enumerator.o -L/usr/local/tslib/lib -L/usr/local/tslib/lib/ts -L../../src/build/release -L/usr/local/QtEH/lib -lqserialdevice -ludev -lQtNetwork -L/usr/local/QtEH/lib -L/usr/local/tslib/lib -L/usr/local/tslib/lib/ts -lQtCore -lpthread
    3. /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -ludev
    4. collect2: ld returned 1 exit status
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: QSerialDevice -ludev PROBLEM TQ2440

    how to add it to arm-none-linux-gnueabi.
    I don't know for sure, but I'd say you need to build your system with udev configured, if you didn't build the system you self, make sure it was configured with udev, and if not rebuild it with udev configured.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Dec 2010
    Posts
    14
    Qt products
    Qt4 Qt/Embedded

    Default Re: QSerialDevice -ludev PROBLEM TQ2440

    hmm I was thinking that it is something in arm-none-linux-gnueabi

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: QSerialDevice -ludev PROBLEM TQ2440

    exactly - make sure it has udev configured and running!
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. QSerialDevice problem to start in GUi
    By ssaku in forum Qt Quick
    Replies: 9
    Last Post: 6th December 2010, 09:51
  2. QSerialDevice cause GUI to freeze
    By dkoryagin in forum Qt Programming
    Replies: 2
    Last Post: 26th September 2010, 18:13
  3. QSerialDevice Problem
    By waynew in forum Qt Programming
    Replies: 8
    Last Post: 21st January 2010, 15:31
  4. QSerialDevice
    By clinisbut in forum Qt Programming
    Replies: 2
    Last Post: 23rd October 2009, 14:30
  5. new library QSerialDevice
    By kuzulis in forum Qt Programming
    Replies: 2
    Last Post: 13th July 2009, 06: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
  •  
Qt is a trademark of The Qt Company.