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. Build Qt modules
Forum Update on Tuesday, May 27th 2025

Build Qt modules

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 1.2k 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
    mk33
    wrote on 1 Apr 2017, 18:56 last edited by
    #1

    Hello, i compile Qt 5.8.0 with Mingw-64bit with this command

    ..\qt-everywhere-opensource-src-5.8.0\configure.bat -prefix D:\tools\Qt\5.8.0 -opensource -confirm-license -developer-build -debug-and-release -shared -skip qtsensors -skip qtlocation -skip qtconnectivity -skip qtandroidextras -skip qtx11extras -skip qtmacextras -skip qtwayland -skip qtquickcontrols -skip qtquickcontrols2 -skip qtactiveqt -skip qtwebengine -skip qtwebchannel -nomake examples -nomake tests -plugin-sql-odbc -opengl desktop -no-warnings-are-errors
    

    I try build simple program and that it is ok.

    I will compile additional modules as qtscript, qtcharts, ... I try something like

    ..\qt-everywhere-opensource-src-5.8.0\configure.bat -prefix D:\tools\Qt\5.8.0 -opensource -confirm-license -developer-build -debug-and-release -shared -qtscript -warnings-are-errors
    

    but unsuccessfully

    This is the Qt for Windows Open Source Edition.
    
    You have already accepted the terms of the license.
    
    Creating qmake...
    mingw32-make: Nothing to be done for 'first'.
    
    ERROR: Unknown command line option '-qtscript'.
    
    Qmake failed, return code 3
    

    What is correct way?

    Thank you mk

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 1 Apr 2017, 20:09 last edited by
      #2

      Hi,

      When calling configure again, you need to do it from a clean state.

      In this case you also have a wrong option. There's such option as -qtscript.

      The most simple to do here is to compile the module directly.

      mkdir qtscript
      cd qtscript
      /path/to/your/qmake ../Qt-sources/qtscript
      make -jX or jom.exe
      

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mk33
        wrote on 1 Apr 2017, 20:35 last edited by
        #3

        Thank you, problem solved.

        1 Reply Last reply
        0

        1/3

        1 Apr 2017, 18:56

        • Login

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