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

Build Qt modules

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 1.2k Views
  • 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 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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 last edited by
        #3

        Thank you, problem solved.

        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