Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. Qt Creator build error on Windows
Forum Updated to NodeBB v4.3 + New Features

Qt Creator build error on Windows

Scheduled Pinned Locked Moved Unsolved Qt 6
13 Posts 4 Posters 2.1k 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.
  • Ash VA Ash V

    Ash VA Offline
    Ash VA Offline
    Ash V
    wrote on last edited by
    #4

    And yes, no file named QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp.obj.d is actually present at the specified path (inside the build directory).

    How to resolve?

    Ash VA 1 Reply Last reply
    0
    • Ash VA Ash V

      And yes, no file named QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp.obj.d is actually present at the specified path (inside the build directory).

      How to resolve?

      Ash VA Offline
      Ash VA Offline
      Ash V
      wrote on last edited by
      #5

      ERROR:

      C:\Users\Ashutosh Verma\Documents\qt_qml\pro_1\build\Desktop_Qt_6_7_0_MinGW_64_bit-Debug\_deps\ds-build\src\imports\tools\eventsimulator\QuickStudioEventSimulatorplugin_autogen\include\QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.moc:174: error: opening dependency file _deps\ds-build\src\imports\tools\eventsimulator\CMakeFiles\QuickStudioEventSimulatorplugin.dir\QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp.obj.d: No such file or directory
      In file included from C:/Qt/6.5.3/mingw_64/include/QtCore/qglobal.h:34,
                       from C:/Qt/6.5.3/mingw_64/include/QtCore/qnamespace.h:12,
                       from C:/Qt/6.5.3/mingw_64/include/QtCore/qobjectdefs.h:12,
                       from C:/Qt/6.5.3/mingw_64/include/QtCore/qobject.h:10,
                       from C:/Qt/6.5.3/mingw_64/include/QtCore/qplugin.h:12,
                       from C:/Qt/6.5.3/mingw_64/include/QtQml/qqmlextensionplugin.h:7,
                       from C:/Users/Ashutosh Verma/Documents/qt_qml/pro_1/build/Desktop_Qt_6_7_0_MinGW_64_bit-Debug/_deps/ds-build/src/imports/tools/eventsimulator/QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp:3:
      C:/Users/Ashutosh Verma/Documents/qt_qml/pro_1/build/Desktop_Qt_6_7_0_MinGW_64_bit-Debug/_deps/ds-build/src/imports/tools/eventsimulator/QuickStudioEventSimulatorplugin_autogen/include/QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.moc:174:1: fatal error: opening dependency file _deps\ds-build\src\imports\tools\eventsimulator\CMakeFiles\QuickStudioEventSimulatorplugin.dir\QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp.obj.d: No such file or directory
        174 | QT_WARNING_POP
            | ^~~~~~~~~~~~~~
      
      JonBJ 1 Reply Last reply
      0
      • Ash VA Ash V

        ERROR:

        C:\Users\Ashutosh Verma\Documents\qt_qml\pro_1\build\Desktop_Qt_6_7_0_MinGW_64_bit-Debug\_deps\ds-build\src\imports\tools\eventsimulator\QuickStudioEventSimulatorplugin_autogen\include\QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.moc:174: error: opening dependency file _deps\ds-build\src\imports\tools\eventsimulator\CMakeFiles\QuickStudioEventSimulatorplugin.dir\QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp.obj.d: No such file or directory
        In file included from C:/Qt/6.5.3/mingw_64/include/QtCore/qglobal.h:34,
                         from C:/Qt/6.5.3/mingw_64/include/QtCore/qnamespace.h:12,
                         from C:/Qt/6.5.3/mingw_64/include/QtCore/qobjectdefs.h:12,
                         from C:/Qt/6.5.3/mingw_64/include/QtCore/qobject.h:10,
                         from C:/Qt/6.5.3/mingw_64/include/QtCore/qplugin.h:12,
                         from C:/Qt/6.5.3/mingw_64/include/QtQml/qqmlextensionplugin.h:7,
                         from C:/Users/Ashutosh Verma/Documents/qt_qml/pro_1/build/Desktop_Qt_6_7_0_MinGW_64_bit-Debug/_deps/ds-build/src/imports/tools/eventsimulator/QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp:3:
        C:/Users/Ashutosh Verma/Documents/qt_qml/pro_1/build/Desktop_Qt_6_7_0_MinGW_64_bit-Debug/_deps/ds-build/src/imports/tools/eventsimulator/QuickStudioEventSimulatorplugin_autogen/include/QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.moc:174:1: fatal error: opening dependency file _deps\ds-build\src\imports\tools\eventsimulator\CMakeFiles\QuickStudioEventSimulatorplugin.dir\QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.cpp.obj.d: No such file or directory
          174 | QT_WARNING_POP
              | ^~~~~~~~~~~~~~
        
        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #6

        @Ash-V
        Duplicate https://forum.qt.io/topic/156182/qt-creator-build-error-on-windows.
        Please stop posting the same into multiple questions. Think about the effort someone will take to answer in one place and then someone else will take to answer in the other place, it's not very helpful or polite.
        When someone knows the answer or has something useful to say they will post.
        Please be patient, this is a volunteer user forum not support.

        Christian EhrlicherC Ash VA 2 Replies Last reply
        1
        • JonBJ JonB

          @Ash-V
          Duplicate https://forum.qt.io/topic/156182/qt-creator-build-error-on-windows.
          Please stop posting the same into multiple questions. Think about the effort someone will take to answer in one place and then someone else will take to answer in the other place, it's not very helpful or polite.
          When someone knows the answer or has something useful to say they will post.
          Please be patient, this is a volunteer user forum not support.

          Christian EhrlicherC Online
          Christian EhrlicherC Online
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #7

          C:/Users/Ashutosh Verma/Documents/qt_qml/pro_1/build/Desktop_Qt_6_7_0_MinGW_64_bit-Debug/_deps/ds-build/src/imports/tools/eventsimulator/QuickStudioEventSimulatorplugin_autogen/include/QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.moc
          -> the filename is to long. Use a shorter path.

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

          Ash VA 1 Reply Last reply
          2
          • Christian EhrlicherC Christian Ehrlicher

            C:/Users/Ashutosh Verma/Documents/qt_qml/pro_1/build/Desktop_Qt_6_7_0_MinGW_64_bit-Debug/_deps/ds-build/src/imports/tools/eventsimulator/QuickStudioEventSimulatorplugin_autogen/include/QuickStudioEventSimulatorplugin_QtQuick_Studio_EventSimulatorPlugin.moc
            -> the filename is to long. Use a shorter path.

            Ash VA Offline
            Ash VA Offline
            Ash V
            wrote on last edited by
            #8

            @Christian-Ehrlicher
            Hello Christian.
            I trust that you're doing great!

            Could you please help me out in how can I use a shorter file path.

            I followed so many links, such as this one here on how to enable long paths in Windows 11. But still, this issue in my Qt Creator persists.

            Christian EhrlicherC 1 Reply Last reply
            0
            • JonBJ JonB

              @Ash-V
              Duplicate https://forum.qt.io/topic/156182/qt-creator-build-error-on-windows.
              Please stop posting the same into multiple questions. Think about the effort someone will take to answer in one place and then someone else will take to answer in the other place, it's not very helpful or polite.
              When someone knows the answer or has something useful to say they will post.
              Please be patient, this is a volunteer user forum not support.

              Ash VA Offline
              Ash VA Offline
              Ash V
              wrote on last edited by
              #9

              @JonB
              Sorry for this Jon.
              I'll remember this from next time. 😶 Promise.

              cristian-adamC 1 Reply Last reply
              0
              • Ash VA Ash V

                @Christian-Ehrlicher
                Hello Christian.
                I trust that you're doing great!

                Could you please help me out in how can I use a shorter file path.

                I followed so many links, such as this one here on how to enable long paths in Windows 11. But still, this issue in my Qt Creator persists.

                Christian EhrlicherC Online
                Christian EhrlicherC Online
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by
                #10

                @Ash-V said in Qt Creator build error on Windows:

                Could you please help me out in how can I use a shorter file path.

                Simply use another source and build dir.

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

                Ash VA 1 Reply Last reply
                0
                • Ash VA Ash V

                  @JonB
                  Sorry for this Jon.
                  I'll remember this from next time. 😶 Promise.

                  cristian-adamC Online
                  cristian-adamC Online
                  cristian-adam
                  wrote on last edited by
                  #11

                  See https://www.qt.io/blog/qt-creator-13-cmake-update on how to enable junctions to overcome the windows long path issue.

                  Windows tooling is not yet up to date. Ninja can't handle long paths, gcc can't either.

                  By using junctions the long paths just work because they are redirected to something shorter.

                  Ash VA 1 Reply Last reply
                  1
                  • Christian EhrlicherC Christian Ehrlicher

                    @Ash-V said in Qt Creator build error on Windows:

                    Could you please help me out in how can I use a shorter file path.

                    Simply use another source and build dir.

                    Ash VA Offline
                    Ash VA Offline
                    Ash V
                    wrote on last edited by
                    #12

                    @Christian-Ehrlicher

                    Simply use another source and build dir.

                    Thank you so much Christian!
                    My Qt Creator is now able to compile my code properly.... 😊😙

                    1 Reply Last reply
                    0
                    • cristian-adamC cristian-adam

                      See https://www.qt.io/blog/qt-creator-13-cmake-update on how to enable junctions to overcome the windows long path issue.

                      Windows tooling is not yet up to date. Ninja can't handle long paths, gcc can't either.

                      By using junctions the long paths just work because they are redirected to something shorter.

                      Ash VA Offline
                      Ash VA Offline
                      Ash V
                      wrote on last edited by
                      #13

                      @cristian-adam
                      Thanks Cristian!
                      I'll check this out.... ✌️

                      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