Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. C++ Gurus
  4. Some promblem with qmake

Some promblem with qmake

Scheduled Pinned Locked Moved C++ Gurus
4 Posts 3 Posters 4.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    OoVoO
    wrote on last edited by
    #1

    Project MESSAGE: Qt version 5.0.1
    Project MESSAGE: Linux build
    Project MESSAGE: Release flavor
    Project MESSAGE: BASEDIR /home/qt/directory/qgroundcontrol DESTDIR /home/qt/directory/build-qgroundcontrol-Desktop-Release/release TARGET qgroundcontrol
    /home/qt/directory/qgroundcontrol/QGCExternalLibs.pri:369: Extra characters after test expression.
    Project ERROR: Unknown module(s) in QT: declarative webkit phonon svg
    02:26:08: The process "/usr/bin/qmake" exited with code 3.
    Error while building/deploying project qgroundcontrol (kit: Desktop)
    When executing step 'qmake'

    can some give an idea. what is the problem?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I think your project was written for Qt4, not Qt5.

      (Z(:^

      1 Reply Last reply
      0
      • O Offline
        O Offline
        OoVoO
        wrote on last edited by
        #3

        what should I do to fix it ?

        1 Reply Last reply
        0
        • K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          If you have a Qt4 project, you have two options. You can check this in several places of the original project. Typically moc_, uic_ data files have at the start some comments indicating the version.

          First option is to "convert everything from Qt4 to Qt5,":http://qt-project.org/wiki/Qt_4_to_Qt_5_migration if this is the case.

          Second option to try to compile and link with Qt4. On the download page a little further you find the download links for Qt4.8.5 which can be installed in parallel to Qt 5.0.1 AFAIK. You can stay with the same Qt creator version, because it is capable to handle different Qt lib versions in parallel.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved