Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QtQuickTemplates2/private/qtquicktemplates2-config_p.h: No such file or directory error while building QtQuickControls2
QtWS25 Last Chance

QtQuickTemplates2/private/qtquicktemplates2-config_p.h: No such file or directory error while building QtQuickControls2

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 1.4k 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.
  • D Offline
    D Offline
    Dmitriano
    wrote on 12 Jul 2018, 16:16 last edited by Dmitriano 7 Dec 2018, 16:17
    #1

    I got the following compiler error while building QtQuickControls2 v5.11.1

    In file included from ..\..\include\QtQuickTemplates2\5.11.1/QtQuickTemplates2/private/qtquicktemplates2global_p.h:1:0,
                     from ..\..\include\QtQuickTemplates2\5.11.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qquickcontrol_p.h:54,
                     from ..\..\include\QtQuickTemplates2\5.11.1/QtQuickTemplates2/private/qquickcontrol_p.h:1,
                     from qquickabstractbutton_p.h:51,
                     from qquickabstractbutton.cpp:37:
    ..\..\include\QtQuickTemplates2\5.11.1/QtQuickTemplates2/private/../../../../../src/quicktemplates2/qtquicktemplates2global_p.h:53:66: fatal error: QtQuickTemplates2/private/qtquicktemplates2-config_p.h: No such file or directory
     #include <QtQuickTemplates2/private/qtquicktemplates2-config_p.h>
    

    to fix this I replaced

    #include <QtQuickTemplates2/private/qtquicktemplates2-config_p.h>
    

    with

    #include <qtquicktemplates2-config_p.h>
    

    in file qtquickcontrols2\src\quicktemplates2\qtquicktemplates2global_p.h and after I got compiler error again, I copied original unchanged qtquickcontrols2\src\quicktemplates2\qtquicktemplates2-config_p.h to qtquickcontrols2\include\QtQuickTemplates2\5.11.1\QtQuickTemplates2\private\qtquicktemplates2-config_p.h and after that I build QtQuickControls2 successfully.

    so I have an impression that either the file in a wrong place or include path is incorrect.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 Jul 2018, 21:40 last edited by
      #2

      Hi,

      How are you compiling that module ?
      Whith which compiler ?

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

      D 1 Reply Last reply 13 Jul 2018, 04:30
      0
      • S SGaist
        12 Jul 2018, 21:40

        Hi,

        How are you compiling that module ?
        Whith which compiler ?

        D Offline
        D Offline
        Dmitriano
        wrote on 13 Jul 2018, 04:30 last edited by
        #3

        @SGaist Probably it was my fault, because today I recompiled QT for Android successfully, the only fix I did was to copy

        qvulkanfunctions.h
        qvulkanfunctions_p.cpp
        qvulkanfunctions_p.h
        

        from the master branch, where the BUG is fixed.

        1 Reply Last reply
        1

        1/3

        12 Jul 2018, 16:16

        • 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