Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. After./configure is not creating a makefile.
Forum Updated to NodeBB v4.3 + New Features

After./configure is not creating a makefile.

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 560 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.
  • xlartasX Offline
    xlartasX Offline
    xlartas
    wrote on last edited by
    #1

    Hi!
    I am trying to configure a static build with this command.

    configure -static -release -nomake examples -no make test -skip qtwebengine -opensource -confirm-license -prefix G:\Qt\6.3.2\Qt6.3.2StaticLinked -feature-network -openssl-linked -I G:\\Qt\\Tools\\OpenSSL\\Win_x64\\include\\openssl -L G:\\Qt\\Tools\\OpenSSL\\Win_x64\\lib -DFEATURE_clangcpp=ON -DFEATURE_clang=ON
    

    Console Output:

    Note: Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library.
    Note: When linking against OpenSSL, you can override the default library names through OPENSSL_LIBS. For example: OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked
    Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.
    
    WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
    Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
    On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
    On macOS, you can use Homebrew's llvm package.
    You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
    WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
    You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.
    
    --
    
    Qt is now configured for building. Just run 'cmake --build . --parallel'
    
    Once everything is built, you must run 'cmake --install .'
    Qt will be installed into 'G:/Qt/6.3.2/Qt6.3.2StaticLinked'
    
    To configure and build other Qt modules, you can use the following convenience script:
    G:/Qt/6.3.2/Qt6.3.2StaticLinked/bin/qt-configure-module.bat
    
    If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: G:/Qt/6.3.2/Src
    

    Then I tried:

    G:\Qt\6 .3.2\Src> mingw32-make -j12
    mingw32-make: *** No targets specified and no makefile found. Stop.
    

    I suspect the problem is WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.

    Then I downloaded LLVM 16 and added all the paths I could to the PATH:

    G:\Qt\6.3.2\mingw_64\bin
    C:\Program Files\LLVM\bin
    C:\Program Files\LLVM\lib
    C:\Program Files\LLVM\lib\clang\16\lib\windows
    

    Nothing helps, the makefile does not appear.

    Please help me very much.
    You may find other errors in my configuration command.

    Christian EhrlicherC 1 Reply Last reply
    0
    • xlartasX xlartas

      Hi!
      I am trying to configure a static build with this command.

      configure -static -release -nomake examples -no make test -skip qtwebengine -opensource -confirm-license -prefix G:\Qt\6.3.2\Qt6.3.2StaticLinked -feature-network -openssl-linked -I G:\\Qt\\Tools\\OpenSSL\\Win_x64\\include\\openssl -L G:\\Qt\\Tools\\OpenSSL\\Win_x64\\lib -DFEATURE_clangcpp=ON -DFEATURE_clang=ON
      

      Console Output:

      Note: Using static linking will disable the use of dynamically loaded plugins. Make sure to import all needed static plugins, or compile needed modules into the library.
      Note: When linking against OpenSSL, you can override the default library names through OPENSSL_LIBS. For example: OPENSSL_LIBS='-L/opt/ssl/lib -lssl -lcrypto' ./configure -openssl-linked
      Note: Hunspell in Qt Virtual Keyboard is not enabled. Spelling correction will not be available.
      
      WARNING: QDoc will not be compiled, probably because libclang could not be located. This means that you cannot build the Qt documentation.
      Either set CMAKE_PREFIX_PATH or LLVM_INSTALL_DIR to the location of your llvm installation.
      On Linux systems, you may be able to install libclang by installing the libclang-dev or libclang-devel package, depending on your distribution.
      On macOS, you can use Homebrew's llvm package.
      You will also need to set the FEATURE_clang CMake variable to ON to re-evaluate this check.
      WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.
      You will need to set the FEATURE_clangcpp CMake variable to ON to re-evaluate this check.
      
      --
      
      Qt is now configured for building. Just run 'cmake --build . --parallel'
      
      Once everything is built, you must run 'cmake --install .'
      Qt will be installed into 'G:/Qt/6.3.2/Qt6.3.2StaticLinked'
      
      To configure and build other Qt modules, you can use the following convenience script:
      G:/Qt/6.3.2/Qt6.3.2StaticLinked/bin/qt-configure-module.bat
      
      If reconfiguration fails for some reason, try removing 'CMakeCache.txt' from the build directory
      
      -- Configuring done
      -- Generating done
      -- Build files have been written to: G:/Qt/6.3.2/Src
      

      Then I tried:

      G:\Qt\6 .3.2\Src> mingw32-make -j12
      mingw32-make: *** No targets specified and no makefile found. Stop.
      

      I suspect the problem is WARNING: Clang-based lupdate parser will not be available. LLVM and Clang C++ libraries have not been found.

      Then I downloaded LLVM 16 and added all the paths I could to the PATH:

      G:\Qt\6.3.2\mingw_64\bin
      C:\Program Files\LLVM\bin
      C:\Program Files\LLVM\lib
      C:\Program Files\LLVM\lib\clang\16\lib\windows
      

      Nothing helps, the makefile does not appear.

      Please help me very much.
      You may find other errors in my configuration command.

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @xlartas said in After./configure is not creating a makefile.:

      Qt is now configured for building. Just run 'cmake --build . --parallel'

      Once everything is built, you must run 'cmake --install .'
      Qt will be installed into 'G:/Qt/6.3.2/Qt6.3.2StaticLinked'

      And why do you ignore what's being told you on how to proceed?

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      xlartasX 1 Reply Last reply
      0
      • Christian EhrlicherC Christian Ehrlicher

        @xlartas said in After./configure is not creating a makefile.:

        Qt is now configured for building. Just run 'cmake --build . --parallel'

        Once everything is built, you must run 'cmake --install .'
        Qt will be installed into 'G:/Qt/6.3.2/Qt6.3.2StaticLinked'

        And why do you ignore what's being told you on how to proceed?

        xlartasX Offline
        xlartasX Offline
        xlartas
        wrote on last edited by
        #3

        @Christian-Ehrlicher
        When I was doing this:

        cmake --build . --parallel
        cmake --install .
        

        It turns out a build that collects everything except the compiler libraries and when starting the final one .exe swears at the lack of libraries such as:

        libcrypto
        libtiff
        libssl
        libpng16
        Etc.
        
        Christian EhrlicherC 1 Reply Last reply
        0
        • xlartasX xlartas

          @Christian-Ehrlicher
          When I was doing this:

          cmake --build . --parallel
          cmake --install .
          

          It turns out a build that collects everything except the compiler libraries and when starting the final one .exe swears at the lack of libraries such as:

          libcrypto
          libtiff
          libssl
          libpng16
          Etc.
          
          Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          And what's the problem - did you provide the static libs for those libraries? I mean - you even said that you want to use openssl-linked ... so what do you expect?

          I really don't understand the hype to link stuff statically ...

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          0
          • xlartasX xlartas has marked this topic as solved on

          • Login

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