Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. No QPA while building Qt5
Forum Updated to NodeBB v4.3 + New Features

No QPA while building Qt5

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 3 Posters 10.6k 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.
  • M Offline
    M Offline
    Mefrio
    wrote on last edited by
    #1

    Hi guys,

    I am trying to build latest qt5 from git and, running configure, I get this error:

    @Could not determine the target architecture!
    Turn on verbose messaging (-v) to see the final report.
    No QPA platform plugin enabled!
    If you really want to build without a QPA platform plugin you must pass
    -no-qpa-platform-guard to configure. Doing this will
    produce a Qt that can not run GUI applications.
    The dependencies needed for xcb to build are listed in
    src/plugins/platforms/xcb/README
    *** qtbase/configure exited with non-zero status.
    @

    My configure command is like the one on the "doc":http://qt-project.org/wiki/Building_Qt_5_from_Git, plus the -no-c++11 flag
    @./configure -developer-build -opensource -nomake examples -nomake tests -no-c++11@

    also it seems that I have all the requested libs

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Smar
      wrote on last edited by
      #2

      Have you followed the "building doc":http://qt-project.org/wiki/Building_Qt_5_from_Git for Qt 5?

      Nevertheless, I think full build log would help more with this problem. In my case there was errors in some other place than this.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mefrio
        wrote on last edited by
        #3

        I have followed the tutorial you linked.

        Here is the full build log running configure:
        @mario@mario-pc:~/qt5$ ./configure -developer-build -opensource -nomake examples -nomake tests -no-c++11

        • /home/mario/qt5/qtbase/configure -developer-build -opensource -nomake examples -nomake tests -no-c++11

        This is the Qt Open Source Edition.

        You are licensed to use this software under the terms of
        the Lesser GNU General Public License (LGPL) versions 2.1.

        Type 'L' to view the Lesser GNU General Public License version 2.1.
        Type 'yes' to accept this license offer.
        Type 'no' to decline this license offer.

        Do you accept the terms of the license? yes

        <srcbase> = /home/mario/qt5/qtbase
        <outbase> = /home/mario/qt5/qtbase
        Creating qmake. Please wait...
        make: Nessuna operazione da eseguire per "first".
        qmake is broken

        Could not determine the target architecture!
        Turn on verbose messaging (-v) to see the final report.
        No QPA platform plugin enabled!
        If you really want to build without a QPA platform plugin you must pass
        -no-qpa-platform-guard to configure. Doing this will
        produce a Qt that can not run GUI applications.
        The dependencies needed for xcb to build are listed in
        src/plugins/platforms/xcb/README
        *** qtbase/configure exited with non-zero status.
        @

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tomma
          wrote on last edited by
          #4

          "qmake is broken"
          "Turn on verbose messaging (-v) to see the final report."

          Do full cleanup and try configure again with verbose mode

          1 Reply Last reply
          0
          • M Offline
            M Offline
            Mefrio
            wrote on last edited by
            #5

            Building with verbose option after a cleanup give me this error:

            @'cd qtsensors && make install failed: 512
            Fatal failure installing qtsensors at ./build line 455
            Qt::Build::build_project('Qt::Build=HASH(0x8286db0)', 'qtsensors') called at ./build line 484
            Qt::Build::build_qt('Qt::Build=HASH(0x8286db0)') called at ./build line 544
            Qt::Build::run('Qt::Build=HASH(0x8286db0)') called at ./build line 553
            @

            1 Reply Last reply
            0
            • M Offline
              M Offline
              Mefrio
              wrote on last edited by
              #6

              I solved the problem using the qt5 beta1 wizard installer.

              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