Results 1 to 5 of 5

Thread: How to compile "qextserialport-1.1.tar.gz" source in linux QT

  1. #1
    Join Date
    Mar 2011
    Posts
    15
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default How to compile "qextserialport-1.1.tar.gz" source in linux QT

    Hi there,,

    am working in qt linux. I have to develop a serial comm program.
    For this downloaded classes from net to facilitate this.

    downloaded source is "qextserialport-1.1.tar.gz". I tried to compile this source to access classes from following steps:

    1. Extract archive
    2. copy qextserialport to src folder of QT setup in linux
    3. give command " qmake qextserialport.pro" from terminal
    4. gave make command

    I want to know that before giving "qmake *.pro" command do i require to configure it??????

    because errors are coming

  2. #2
    Join Date
    Aug 2009
    Location
    coimbatore,India
    Posts
    314
    Thanks
    37
    Thanked 47 Times in 43 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to compile "qextserialport-1.1.tar.gz" source in linux QT

    u just need to crosscompile qesp.pro
    because errors are coming
    if u hav errors, can u post it here.

    Bala

  3. #3
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to compile "qextserialport-1.1.tar.gz" source in linux QT

    Quote Originally Posted by pupqt View Post
    I want to know that before giving "qmake *.pro" command do i require to configure it?????? because errors are coming
    Nothing. What are the errors?

    Qt Code:
    1. chrisw@newton /tmp $ ls -l qextserialport-1.1.tar.gz
    2. -rw-r--r-- 1 chrisw users 194209 Mar 25 11:45 qextserialport-1.1.tar.gz
    3. chrisw@newton /tmp $ tar xf qextserialport-1.1.tar.gz
    4. chrisw@newton /tmp $ cd qextserialport
    5. chrisw@newton /tmp/qextserialport $ qmake
    6. chrisw@newton /tmp/qextserialport $ make
    7. ...
    8. chrisw@newton /tmp/qextserialport $ ls -l build/
    9. total 48
    10. lrwxrwxrwx 1 chrisw users 26 Mar 25 11:49 libqextserialport.so -> libqextserialport.so.1.0.0
    11. lrwxrwxrwx 1 chrisw users 26 Mar 25 11:49 libqextserialport.so.1 -> libqextserialport.so.1.0.0
    12. lrwxrwxrwx 1 chrisw users 26 Mar 25 11:49 libqextserialport.so.1.0 -> libqextserialport.so.1.0.0
    13. -rwxr-xr-x 1 chrisw users 38087 Mar 25 11:49 libqextserialport.so.1.0.0
    14. drwxr-xr-x 2 chrisw users 4096 Mar 25 11:46 moc
    15. drwxr-xr-x 2 chrisw users 4096 Mar 25 11:49 obj
    To copy to clipboard, switch view to plain text mode 
    Done, no errors.

  4. #4
    Join Date
    Nov 2011
    Location
    Fort Wayne, IN
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: How to compile "qextserialport-1.1.tar.gz" source in linux QT

    The current download links for 'qextserialport' take you to the 'current' version which is 'qextserialport-1.2win-alpha.zip', but this version once unzipped does not compile as easily as 'qextserialport-1.1.tar.gz' sources.

    qextserialport-1.2win-alpha resulted in the following error during make on my very simple linux system:

    Qt Code:
    1. qextserialenumerator.cpp:9: fatal error: objbase.h: No such file or directory
    2. compilation terminated.
    To copy to clipboard, switch view to plain text mode 

    qextserialport-1.1 files compiled without any errors, such as ChrisW67 explained.

    This was on Linux Mint 10.

  5. #5
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: How to compile "qextserialport-1.1.tar.gz" source in linux QT

    Quote Originally Posted by markusr View Post
    qextserialport-1.2win-alpha.zip
    That's a Windows version hence the "win" in the file name. objbase.h is a Windows header.

    I had no problems compiling v1.2 on Debian after cloning a copy with Mercurial as shown on the website:
    Qt Code:
    1. hg clone https://code.google.com/p/qextserialport/
    To copy to clipboard, switch view to plain text mode 

Similar Threads

  1. Replies: 1
    Last Post: 10th March 2011, 14:40
  2. Replies: 0
    Last Post: 21st February 2010, 18:09
  3. Replies: 3
    Last Post: 15th February 2010, 17:27
  4. Replies: 4
    Last Post: 19th February 2009, 16:56
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05

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.