Results 1 to 3 of 3

Thread: qmake error - installation of QtSerialPort under Ubuntu x64 with QT5

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2014
    Posts
    18
    Qt products
    Qt5

    Question qmake error - installation of QtSerialPort under Ubuntu x64 with QT5

    Hello everybody,

    I tried to install QtSerialPort under Ubuntu x64 with QT5.

    Poorly it is not working.


    If I use the following command:
    Qt Code:
    1. d@ubuntu:~/qtserialport/build$ sudo qmake /home/d/qtserialport/src/serialport/serialport.pro
    To copy to clipboard, switch view to plain text mode 

    I get the error:
    Qt Code:
    1. Project MESSAGE: /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt -module
    2. QtSerialPort -mkspecsdir /usr/share/qt5/mkspecs -outdir
    3. /home/d/qtserialport
    4. Could not find any sync.profile for your module!
    5. Pass <module directory> to syncqt to sync your header files.
    6. syncqt failed at /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt line 774.
    7. Project ERROR: Failed to run: /usr/lib/x86_64-linux-gnu/qt5/bin/syncqt
    8. -module QtSerialPort -mkspecsdir /usr/share/qt5/mkspecs -outdir
    9. /home/d/qtserialport
    To copy to clipboard, switch view to plain text mode 

    In line 774 is written:
    Qt Code:
    1. die "Could not find any sync.profile for your module!\nPass <module
    2. directory> to syncqt to sync your header files.\nsyncqt failed" if
    3. (!$basedir);
    To copy to clipboard, switch view to plain text mode 

    If I try to install it directly with QtCreator I also get errors.

    Could you please help me to solve my problem?

    I am a beginner and I have really no idea whats wrong or how to solve the problem.


    Thank you very much :-)

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: qmake error - installation of QtSerialPort under Ubuntu x64 with QT5

    Not sure why you are using sudo to run qmake. but have you checked if there is a .pro file in the actual top level directory?

    E.g. /home/d/qtserialport/qtserialport.pro

    Cheers,
    _

  3. #3
    Join Date
    Mar 2014
    Posts
    18
    Qt products
    Qt5

    Default Re: qmake error - installation of QtSerialPort under Ubuntu x64 with QT5

    Thanks,
    there was a .pro file.

    I found a solution.

    I installed a new version of Qt and there QtSerialPort is already included. :-)

Similar Threads

  1. Replies: 0
    Last Post: 22nd January 2014, 06:49
  2. installation problem of qt in ubuntu 10.10
    By sachinmcajnu in forum Newbie
    Replies: 1
    Last Post: 12th April 2011, 16:50
  3. Mysterious QSslSocket error causes installation to fail on Ubuntu 64-bit.
    By spitfirejunky in forum Installation and Deployment
    Replies: 2
    Last Post: 1st April 2010, 23:04
  4. Replies: 6
    Last Post: 30th August 2008, 13:01
  5. Qt3 Installation on Ubuntu 7.04
    By jflowers in forum Installation and Deployment
    Replies: 1
    Last Post: 16th January 2008, 19:20

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.