Results 1 to 2 of 2

Thread: Problem compiling QTSerialPortTerminal

  1. #1
    Join Date
    Jul 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    3

    Default Problem compiling QTSerialPortTerminal

    i have downloaded QTSerialPortTerminal fro this link and open it with qt creator but i got 2 errors.

    this is the output of compiler
    Qt Code:
    1. Running build steps for project QSerialPortTerminal...
    2. Configuration unchanged, skipping qmake step.
    3. Starting: "/usr/bin/make" -w
    4. make: Entering directory `/home/mtsaw/Downloads/77764-QTSerialPort 03-10-08'
    5. /opt/QtSDK/Desktop/Qt/474/gcc/bin/qmake -spec /opt/QtSDK/Desktop/Qt/474/gcc/mkspecs/linux-g++-32 -o Makefile QSerialPortTerminal.pro
    6. make: Leaving directory `/home/mtsaw/Downloads/77764-QTSerialPort 03-10-08'
    7. make: Entering directory `/home/mtsaw/Downloads/77764-QTSerialPort 03-10-08'
    8. g++ -m32 -Wl,-rpath,/opt/QtSDK/Desktop/Qt/474/gcc/lib -o QSerialPortTerminal build/.o/unix/main.o build/.o/unix/QSerialPortTerminal.o build/.o/unix/qextserialbase.o build/.o/unix/qextserialport.o build/.o/unix/ManageSerialPort.o build/.o/unix/posix_qextserialport.o build/.o/unix/moc_QSerialPortTerminal.o build/.o/unix/moc_ManageSerialPort.o -L/usr/X11R6/lib -L/opt/QtSDK/Desktop/Qt/474/gcc/lib lib/libqserialdevice -lpthread -lQtGui -lQtCore -lXext -lX11 -lm
    9. /usr/bin/ld: cannot find -lXext
    10. /usr/bin/ld: cannot find -lX11
    11. make: Leaving directory `/home/mtsaw/Downloads/77764-QTSerialPort 03-10-08'
    12. collect2: ld returned 1 exit status
    13. make: *** [QSerialPortTerminal] Error 1
    14. The process "/usr/bin/make" exited with code 2.
    15. Error while building project QSerialPortTerminal (target: Desktop)
    16. When executing build step 'Make'
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jul 2010
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    3

    Default Re: Problem compiling QTSerialPortTerminal

    Finally i fixed my problem by install libxext-dev package
    Qt Code:
    1. sudo apt-get install libxext-dev
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Compiling problem
    By Astrologer in forum Qt Programming
    Replies: 9
    Last Post: 11th May 2010, 07:25
  2. Problem compiling Qt 4.6
    By dentharg in forum Installation and Deployment
    Replies: 0
    Last Post: 8th December 2009, 07:32
  3. problem compiling
    By mesman00 in forum Qt Programming
    Replies: 2
    Last Post: 13th August 2009, 19:49
  4. Problem in compiling
    By ja_sapienza in forum Qt Programming
    Replies: 7
    Last Post: 11th July 2008, 15:10
  5. xlC V9 problem compiling Qt 3.3.8
    By kevinm in forum Installation and Deployment
    Replies: 0
    Last Post: 8th April 2008, 20:23

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.