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. Error when compiling Qt5 on windows with a few -skip commands

Error when compiling Qt5 on windows with a few -skip commands

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 2.6k Views 2 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.
  • J Offline
    J Offline
    JulienMaille
    wrote on last edited by JulienMaille
    #1

    Dear folks, I'm starting to move from Qt4 to Qt5.
    I have an issue when compiling qdoc
    Here is my configure command line:

    configure -target xp -platform win32-msvc2013 -no-warnings-are-errors -debug-and-release -opensource -confirm-license -qt-zlib -qt-libjpeg -qt-libpng -qt-pcre -opengl desktop -no-angle -no-accessibility -no-qml-debug -nomake examples -nomake tests -no-compile-examples -skip qtandroidextras -skip qtcanvas3d -skip qtconnectivity -skip qtdeclarative -skip qtenginio -skip qtgraphicaleffects -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip qtquick1 -skip qtquickcontrols -skip qtquickcontrols2 -skip qtsensors -skip qtserialport -skip qtwayland -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples -skip qtwebsockets -skip qtx11extras -skip qtxmlpatterns
    

    And here is the error I get:

     cd qdoc\ && ( if not exist Makefile C:\Qt\5-head-x86-12.0\qtbase\bin\qmake C:\Qt\5-head-x86-12.0\qttools\src\qdoc\qdoc.pro -o Makefile ) && nmake -f Makefile clean
    Project ERROR: Unknown module(s) in QT: qmldevtools-private
    

    Do you have any idea why it fails? Is qdoc not aware that some libraries were turned off by configure?

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

      Hi,

      Which version of Qt are you trying to 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
      • J Offline
        J Offline
        JulienMaille
        wrote on last edited by
        #3

        The head of the repository

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

          Ok, mine was a bit older. It seems that currently, qdoc is indeed not checking whether the declarative module has been built.

          I see two easy possibilities:

          1. Disable the build of qttools
          2. Enable the build of qtdeclarative

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

          H 1 Reply Last reply
          1
          • J JulienMaille

            The head of the repository

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            @JulienMaille said:

            The head of the repository

            The head is not guaranteed to be stable.

            I recommend you check out and build "v5.5.1". This is the latest stable release.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            0
            • SGaistS SGaist

              Ok, mine was a bit older. It seems that currently, qdoc is indeed not checking whether the declarative module has been built.

              I see two easy possibilities:

              1. Disable the build of qttools
              2. Enable the build of qtdeclarative
              H Offline
              H Offline
              Hernan Martinez
              wrote on last edited by
              #6

              @SGaist Thank you hehe, I found that myself while building Qt 5.6. Do you know any workaround for that? I mean I can't believe that we need QtDeclarative to build the docs! :(

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

                Well, AFAICT, it was already the case but there was code duplication elsewhere that made this non-obvious. Why is it needed ? Because qdoc needs to parse qml and that something that's available from the qtdeclarative module.

                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