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. Error building Qt5 for Windows 10 Ubuntu
Forum Updated to NodeBB v4.3 + New Features

Error building Qt5 for Windows 10 Ubuntu

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 817 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.
  • B Offline
    B Offline
    Brian Biekman
    wrote on last edited by
    #1

    I'm having difficulty installing Qt on my Windows 10 Ubuntu app (Ubuntu version 18.04.2 LTS).

    I followed the instructions of "Building Qt5 from Git" but when that build didn't work, I tried a shadow build following these instructions: https://forum.qt.io/topic/98501/static-compile-error-qt5-12-0-bootstrap-private/9. I downloaded Qt5 from Git and was able to complete Step 2. In Step 3, I was able to complete all but the make command. When I ran make, the process terminated. I have printed the last few lines of output below:

    cd qmake/ && ( test -e Makefile.qmake-aux || /home/bbiekman/bin/qt5-build/install/bin/qmake -o Makefile.qmake-aux /home/bbiekman/bin/qt5/qtbase/qmake/qmake-aux.pro -config release ) && make -f Makefile.qmake-aux
    make[2]: Entering directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
    /home/bbiekman/bin/qt5-build/install/bin/qmake -o Makefile.qmake-aux /home/bbiekman/bin/qt5/qtbase/qmake/qmake-aux.pro -config release
    make binary
    make[3]: Entering directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
    make[3]: *** No rule to make target 'binary'. Stop.
    make[3]: Leaving directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
    Makefile.qmake-aux:1049: recipe for target '/home/bbiekman/bin/qt5/static-build/qtbase/qmake/qmake' failed
    make[2]: *** [/home/bbiekman/bin/qt5/static-build/qtbase/qmake/qmake] Error 2
    make[2]: Leaving directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
    Makefile:125: recipe for target 'sub-qmake-qmake-aux-pro-make_first' failed
    make[1]: *** [sub-qmake-qmake-aux-pro-make_first] Error 2
    make[1]: Leaving directory '/home/bbiekman/bin/qt5/static-build/qtbase'
    Makefile:86: recipe for target 'module-qtbase-make_first' failed
    make: *** [module-qtbase-make_first] Error 2

    jsulmJ 1 Reply Last reply
    0
    • B Brian Biekman

      I'm having difficulty installing Qt on my Windows 10 Ubuntu app (Ubuntu version 18.04.2 LTS).

      I followed the instructions of "Building Qt5 from Git" but when that build didn't work, I tried a shadow build following these instructions: https://forum.qt.io/topic/98501/static-compile-error-qt5-12-0-bootstrap-private/9. I downloaded Qt5 from Git and was able to complete Step 2. In Step 3, I was able to complete all but the make command. When I ran make, the process terminated. I have printed the last few lines of output below:

      cd qmake/ && ( test -e Makefile.qmake-aux || /home/bbiekman/bin/qt5-build/install/bin/qmake -o Makefile.qmake-aux /home/bbiekman/bin/qt5/qtbase/qmake/qmake-aux.pro -config release ) && make -f Makefile.qmake-aux
      make[2]: Entering directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
      /home/bbiekman/bin/qt5-build/install/bin/qmake -o Makefile.qmake-aux /home/bbiekman/bin/qt5/qtbase/qmake/qmake-aux.pro -config release
      make binary
      make[3]: Entering directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
      make[3]: *** No rule to make target 'binary'. Stop.
      make[3]: Leaving directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
      Makefile.qmake-aux:1049: recipe for target '/home/bbiekman/bin/qt5/static-build/qtbase/qmake/qmake' failed
      make[2]: *** [/home/bbiekman/bin/qt5/static-build/qtbase/qmake/qmake] Error 2
      make[2]: Leaving directory '/home/bbiekman/bin/qt5/static-build/qtbase/qmake'
      Makefile:125: recipe for target 'sub-qmake-qmake-aux-pro-make_first' failed
      make[1]: *** [sub-qmake-qmake-aux-pro-make_first] Error 2
      make[1]: Leaving directory '/home/bbiekman/bin/qt5/static-build/qtbase'
      Makefile:86: recipe for target 'module-qtbase-make_first' failed
      make: *** [module-qtbase-make_first] Error 2

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by jsulm
      #2

      @Brian-Biekman said in Error building Qt5 for Windows 10 Ubuntu:

      Qt on my Windows 10 Ubuntu app

      What does that mean? Do you want to cross compile? Or do you mean the Linux Subsystem in Windows 10?
      Why do you compile Qt instead of simply install Qt using Qt Online Installer?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • B Offline
        B Offline
        Brian Biekman
        wrote on last edited by Brian Biekman
        #3

        I mean the Linux subsystem in Windows 10. But actually, I thought I had to compile Qt from source code to run the program it depends on but it turns out I don't. Can this be marked as solved?

        jsulmJ 1 Reply Last reply
        0
        • B Brian Biekman

          I mean the Linux subsystem in Windows 10. But actually, I thought I had to compile Qt from source code to run the program it depends on but it turns out I don't. Can this be marked as solved?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by jsulm
          #4

          @Brian-Biekman said in Error building Qt5 for Windows 10 Ubuntu:

          Can this be marked as solved?

          If it is solved then yes please mark it as solved (see "Topic Tools" button on the bottom)

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          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