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. Module 'qt5compat' depends on 'qtdeclarative', but 'qtdeclarative
Forum Updated to NodeBB v4.3 + New Features

Module 'qt5compat' depends on 'qtdeclarative', but 'qtdeclarative

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

    I followed the instructions.
    https://wiki.qt.io/Building_a_static_Qt_for_Windows_using_MinGW

    However, I get the following error message. I have looked at the logs, but I am not quite clear from them. I have attached them.

    Error message:

    CMake Error at CMakeLists.txt:64 (message):
      Module 'qt5compat' depends on 'qtdeclarative', but 'qtdeclarative' will not
      be built.
    
      Note: Use '-skip qt5compat' to exclude it from build.
    
    -- Configuring incomplete, errors occurred!
    See also "C:/Qt/Static/src/qt-everywhere-src-6.1.3/CMakeFiles/CMakeOutput.log".
    CMake Error at qtbase/cmake/QtProcessConfigureArgs.cmake:828 (message):
      CMake exited with code 1.
    

    Hope that someone can help me.
    https://www.file-upload.net/download-14694993/CMakeOutput.txt.html

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Which exact command did you use to configure your build ?

      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
      • S Offline
        S Offline
        Sven123
        wrote on last edited by
        #3

        Following the instructions, I ran this PowerShell file:

        https://gist.github.com/mrfaptastic/80e909c9a8237994471bce2d17657779

        I have only adjusted the version in it.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          I don't have a Windows machine at hand but if you are planning to port your application, I would recommend adding the qt5compat skipping. If there are any issue, then you won't delay updating your application library.

          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

          • Login

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