Results 1 to 3 of 3

Thread: Windows to Linux Problem

  1. #1
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Windows to Linux Problem

    Hi everyone,

    I have not much experience in qt, I was developing a serial port terminal then i came acroos with this

    example code. it works perfect in windows, but i have to use it in
    linux. when i tried to build this code in linux i get this error (without quotes) "error: cannot find -lXext"

    What can i do to solve this issue?

    Thanks in advance.

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Windows to Linux Problem

    looks like u have to install libxext-dev in you system. try installing it using
    sudo apt-get install libxext-dev (on ubuntu)

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

    thehilmisu (22nd December 2011)

  4. #3
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Smile Re: Windows to Linux Problem

    @nish thanks, it works. But i have one more question. I confused with the example code. I tried to understand how the code understands the operating system and select the right classes for serial port.

    If you have chance to look at the code, can you give me hint about that

Similar Threads

  1. QListWidget problem on Mac, not on linux/windows
    By schnitzel in forum Qt Programming
    Replies: 0
    Last Post: 27th November 2009, 21:55
  2. Deployment Procedure On Windows On Linux and Windows
    By Harshith J.V. in forum Installation and Deployment
    Replies: 4
    Last Post: 9th July 2009, 11:27
  3. problem - printing in windows and linux
    By newplayer in forum Qt Programming
    Replies: 2
    Last Post: 8th July 2008, 20:22
  4. Font Problem Porting from Windows to Linux
    By rajeshs in forum Qt Programming
    Replies: 1
    Last Post: 13th July 2007, 10:25
  5. problem of porting from windows to linux
    By jyoti kumar in forum Qt Programming
    Replies: 4
    Last Post: 22nd May 2006, 08:42

Tags for this Thread

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.