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. No rule to make target qrc_qml.cpp
Forum Updated to NodeBB v4.3 + New Features

No rule to make target qrc_qml.cpp

Scheduled Pinned Locked Moved Unsolved General and Desktop
20 Posts 4 Posters 10.8k 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.
  • elicatE elicat

    Good morning,

    I'm moving programs from one computer to another.
    I changed the path of working directories.
    Yet from error to the compilation
    What should I do in these cases beyond the control of the route?
    Thank you

    This is error:

    mingw32-make[1]: *** No rule to make target '../mycomponent/MyDelagateFieldEdit.qml', needed by 'debug/qrc_qml.cpp'. Stop.
    

    this is the compiler log file

    08:52:23: Running steps for project SQLiteDbAccessListModel...
    
    08:52:23: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" clean
    
    C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug clean
    
    mingw32-make[1]: Entering directory 'C:/Generale/OneDrive - ELICAT SRL - 03978700288/Developer/QtApplicazioni/youtube_and_web/EVILEG/SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale/build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug'
    
    del debug\qrc_qml.cpp
    
    Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\debug\qrc_qml.cpp
    
    del debug\moc_predefs.h
    
    Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\debug\moc_predefs.h
    
    del debug\moc_database.cpp debug\moc_listmodel.cpp debug\moc_editmodel.cpp debug\moc_qmldebugger.cpp
    
    Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\debug\moc_database.cpp
    
    del debug\main.o debug\database.o debug\listmodel.o debug\dichiarative.o debug\editmodel.o debug\qmldebugger.o debug\qrc_qml.o debug\moc_database.o debug\moc_listmodel.o debug\moc_editmodel.o debug\moc_qmldebugger.o
    
    Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\debug\main.o
    
    mingw32-make[1]: Leaving directory 'C:/Generale/OneDrive - ELICAT SRL - 03978700288/Developer/QtApplicazioni/youtube_and_web/EVILEG/SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale/build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug'
    
    C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Release clean
    
    mingw32-make[1]: Entering directory 'C:/Generale/OneDrive - ELICAT SRL - 03978700288/Developer/QtApplicazioni/youtube_and_web/EVILEG/SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale/build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug'
    
    del release\qrc_qml.cpp
    
    Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\qrc_qml.cpp
    
    del release\moc_predefs.h
    
    Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\moc_predefs.h
    
    del release\moc_database.cpp release\moc_listmodel.cpp release\moc_editmodel.cpp release\moc_qmldebugger.cpp
    
    Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\moc_database.cpp
    
    del release\main.o release\database.o release\listmodel.o release\dichiarative.o release\editmodel.o release\qmldebugger.o release\qrc_qml.o release\moc_database.o release\moc_listmodel.o release\moc_editmodel.o release\moc_qmldebugger.o
    
    Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\main.o
    
    mingw32-make[1]: Leaving directory 'C:/Generale/OneDrive - ELICAT SRL - 03978700288/Developer/QtApplicazioni/youtube_and_web/EVILEG/SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale/build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug'
    
    08:52:24: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
    
    08:52:24: Configuration unchanged, skipping qmake step.
    
    08:52:24: Starting: "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"
    
    C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
    
    mingw32-make[1]: Entering directory 'C:/Generale/OneDrive - ELICAT SRL - 03978700288/Developer/QtApplicazioni/youtube_and_web/EVILEG/SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale/build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug'
    
    g++ -c -g -std=gnu++11 -Wall -W -fexceptions -mthreads -DUNICODE -D_UNICODE -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\..\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale -I. -IC:\Qt\5.9.4\mingw53_32\include -IC:\Qt\5.9.4\mingw53_32\include\QtQuick -IC:\Qt\5.9.4\mingw53_32\include\QtWidgets -IC:\Qt\5.9.4\mingw53_32\include\QtGui -IC:\Qt\5.9.4\mingw53_32\include\QtANGLE -IC:\Qt\5.9.4\mingw53_32\include\QtQml -IC:\Qt\5.9.4\mingw53_32\include\QtNetwork -IC:\Qt\5.9.4\mingw53_32\include\QtSql -IC:\Qt\5.9.4\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.4\mingw53_32\mkspecs\win32-g++ -o debug\main.o ..\main.cpp
    
    g++ -c -g -std=gnu++11 -Wall -W -fexceptions -mthreads -DUNICODE -D_UNICODE -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\..\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale -I. -IC:\Qt\5.9.4\mingw53_32\include -IC:\Qt\5.9.4\mingw53_32\include\QtQuick -IC:\Qt\5.9.4\mingw53_32\include\QtWidgets -IC:\Qt\5.9.4\mingw53_32\include\QtGui -IC:\Qt\5.9.4\mingw53_32\include\QtANGLE -IC:\Qt\5.9.4\mingw53_32\include\QtQml -IC:\Qt\5.9.4\mingw53_32\include\QtNetwork -IC:\Qt\5.9.4\mingw53_32\include\QtSql -IC:\Qt\5.9.4\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.4\mingw53_32\mkspecs\win32-g++ -o debug\database.o ..\database.cpp
    
    g++ -c -g -std=gnu++11 -Wall -W -fexceptions -mthreads -DUNICODE -D_UNICODE -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\..\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale -I. -IC:\Qt\5.9.4\mingw53_32\include -IC:\Qt\5.9.4\mingw53_32\include\QtQuick -IC:\Qt\5.9.4\mingw53_32\include\QtWidgets -IC:\Qt\5.9.4\mingw53_32\include\QtGui -IC:\Qt\5.9.4\mingw53_32\include\QtANGLE -IC:\Qt\5.9.4\mingw53_32\include\QtQml -IC:\Qt\5.9.4\mingw53_32\include\QtNetwork -IC:\Qt\5.9.4\mingw53_32\include\QtSql -IC:\Qt\5.9.4\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.4\mingw53_32\mkspecs\win32-g++ -o debug\listmodel.o ..\listmodel.cpp
    
    g++ -c -g -std=gnu++11 -Wall -W -fexceptions -mthreads -DUNICODE -D_UNICODE -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\..\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale -I. -IC:\Qt\5.9.4\mingw53_32\include -IC:\Qt\5.9.4\mingw53_32\include\QtQuick -IC:\Qt\5.9.4\mingw53_32\include\QtWidgets -IC:\Qt\5.9.4\mingw53_32\include\QtGui -IC:\Qt\5.9.4\mingw53_32\include\QtANGLE -IC:\Qt\5.9.4\mingw53_32\include\QtQml -IC:\Qt\5.9.4\mingw53_32\include\QtNetwork -IC:\Qt\5.9.4\mingw53_32\include\QtSql -IC:\Qt\5.9.4\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.4\mingw53_32\mkspecs\win32-g++ -o debug\dichiarative.o ..\dichiarative.cpp
    
    g++ -c -g -std=gnu++11 -Wall -W -fexceptions -mthreads -DUNICODE -D_UNICODE -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\..\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale -I. -IC:\Qt\5.9.4\mingw53_32\include -IC:\Qt\5.9.4\mingw53_32\include\QtQuick -IC:\Qt\5.9.4\mingw53_32\include\QtWidgets -IC:\Qt\5.9.4\mingw53_32\include\QtGui -IC:\Qt\5.9.4\mingw53_32\include\QtANGLE -IC:\Qt\5.9.4\mingw53_32\include\QtQml -IC:\Qt\5.9.4\mingw53_32\include\QtNetwork -IC:\Qt\5.9.4\mingw53_32\include\QtSql -IC:\Qt\5.9.4\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.4\mingw53_32\mkspecs\win32-g++ -o debug\editmodel.o ..\editmodel.cpp
    
    g++ -c -g -std=gnu++11 -Wall -W -fexceptions -mthreads -DUNICODE -D_UNICODE -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -I..\..\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale -I. -IC:\Qt\5.9.4\mingw53_32\include -IC:\Qt\5.9.4\mingw53_32\include\QtQuick -IC:\Qt\5.9.4\mingw53_32\include\QtWidgets -IC:\Qt\5.9.4\mingw53_32\include\QtGui -IC:\Qt\5.9.4\mingw53_32\include\QtANGLE -IC:\Qt\5.9.4\mingw53_32\include\QtQml -IC:\Qt\5.9.4\mingw53_32\include\QtNetwork -IC:\Qt\5.9.4\mingw53_32\include\QtSql -IC:\Qt\5.9.4\mingw53_32\include\QtCore -Idebug -IC:\Qt\5.9.4\mingw53_32\mkspecs\win32-g++ -o debug\qmldebugger.o ..\qmldebugger.cpp
    
    mingw32-make[1]: *** No rule to make target '../mycomponent/MyDelagateFieldEdit.qml', needed by 'debug/qrc_qml.cpp'. Stop.
    
    mingw32-make[1]: Leaving directory 'C:/Generale/OneDrive - ELICAT SRL - 03978700288/Developer/QtApplicazioni/youtube_and_web/EVILEG/SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale/build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug'
    
    Makefile:36: recipe for target 'debug' failed
    
    mingw32-make: *** [debug] Error 2
    
    08:52:37: The process "C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe" exited with code 2.
    
    Error while building/deploying project SQLiteDbAccessListModel (kit: Desktop Qt 5.9.4 MinGW 32bit)
    
    When executing step "Make"
    
    08:52:37: Elapsed time: 00:15.
    
    raven-worxR Offline
    raven-worxR Offline
    raven-worx
    Moderators
    wrote on last edited by raven-worx
    #2

    @elicat
    (in case the file path is correct) rerun qmake

    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
    If you have a question please use the forum so others can benefit from the solution in the future

    elicatE 1 Reply Last reply
    1
    • raven-worxR raven-worx

      @elicat
      (in case the file path is correct) rerun qmake

      elicatE Offline
      elicatE Offline
      elicat
      wrote on last edited by
      #3

      @raven-worx tyhanks but, ihave already try. When i run qmake i haven't problem.
      But when i try build it's stopped.

      Saluti, Gianfranco Elicat

      raven-worxR 1 Reply Last reply
      0
      • elicatE elicat

        @raven-worx tyhanks but, ihave already try. When i run qmake i haven't problem.
        But when i try build it's stopped.

        raven-worxR Offline
        raven-worxR Offline
        raven-worx
        Moderators
        wrote on last edited by raven-worx
        #4

        @elicat
        yes, but it seems your makefile (created by qmake) still assumes the presence of a file, which it cannot find. Thus my suggestion to recreate the makefile.

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on last edited by
          #5

          Just check whether you have mycomponent/MyDelagateFieldEdit.qml is appropriate path. Either it is missing or there is spelling mistake etc.

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          elicatE 1 Reply Last reply
          1
          • dheerendraD dheerendra

            Just check whether you have mycomponent/MyDelagateFieldEdit.qml is appropriate path. Either it is missing or there is spelling mistake etc.

            elicatE Offline
            elicatE Offline
            elicat
            wrote on last edited by
            #6

            @dheerendra i have only moved all folder of the project into another computer.
            View project root:
            0_1528460581550_capture.png

            Saluti, Gianfranco Elicat

            1 Reply Last reply
            0
            • dheerendraD Offline
              dheerendraD Offline
              dheerendra
              Qt Champions 2022
              wrote on last edited by
              #7

              It is only a issue of some file path. Just start fresh. Close all the project. Remove build directory. Remove *.pro.user. Also just ensure that there is no file called qrc_qml.cpp. If exist remove that also. Open the pro file again. Everything should work fine.

              Dheerendra
              @Community Service
              Certified Qt Specialist
              http://www.pthinks.com

              elicatE 1 Reply Last reply
              3
              • dheerendraD dheerendra

                It is only a issue of some file path. Just start fresh. Close all the project. Remove build directory. Remove *.pro.user. Also just ensure that there is no file called qrc_qml.cpp. If exist remove that also. Open the pro file again. Everything should work fine.

                elicatE Offline
                elicatE Offline
                elicat
                wrote on last edited by elicat
                #8

                @dheerendra said in No rule to make target qrc_qml.cpp:

                It is only a issue of some file path. Just start fresh. Close all the project. Remove build directory. Remove *.pro.user. Also just ensure that there is no file called qrc_qml.cpp. If exist remove that also. Open the pro file again. Everything should work fine.

                What was proposed seemed right. But after 45 minutes of attempts I always have the same error.
                0_1528476794733_capture2.png

                il file QML that call it is only edit.qml and dichiarative is :

                import "./mycomponent"
                

                crazy, I just can not understand

                maybe the real problem are the things you do not find when compiling? see the lines with "Could Not Find"

                mingw32-make[1]: Entering directory 'C:/Generale/OneDrive - ELICAT SRL - 03978700288/Developer/QtApplicazioni/youtube_and_web/EVILEG/SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale/build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug'
                del release\qrc_qml.cpp
                Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\qrc_qml.cpp
                del release\moc_predefs.h
                Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\moc_predefs.h
                del release\moc_database.cpp release\moc_listmodel.cpp release\moc_editmodel.cpp release\moc_qmldebugger.cpp
                Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\moc_database.cpp
                del release\main.o release\database.o release\listmodel.o release\dichiarative.o release\editmodel.o release\qmldebugger.o release\qrc_qml.o release\moc_database.o release\moc_listmodel.o release\moc_editmodel.o release\moc_qmldebugger.o
                Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\main.o
                

                Saluti, Gianfranco Elicat

                raven-worxR 1 Reply Last reply
                0
                • elicatE elicat

                  @dheerendra said in No rule to make target qrc_qml.cpp:

                  It is only a issue of some file path. Just start fresh. Close all the project. Remove build directory. Remove *.pro.user. Also just ensure that there is no file called qrc_qml.cpp. If exist remove that also. Open the pro file again. Everything should work fine.

                  What was proposed seemed right. But after 45 minutes of attempts I always have the same error.
                  0_1528476794733_capture2.png

                  il file QML that call it is only edit.qml and dichiarative is :

                  import "./mycomponent"
                  

                  crazy, I just can not understand

                  maybe the real problem are the things you do not find when compiling? see the lines with "Could Not Find"

                  mingw32-make[1]: Entering directory 'C:/Generale/OneDrive - ELICAT SRL - 03978700288/Developer/QtApplicazioni/youtube_and_web/EVILEG/SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale/build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug'
                  del release\qrc_qml.cpp
                  Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\qrc_qml.cpp
                  del release\moc_predefs.h
                  Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\moc_predefs.h
                  del release\moc_database.cpp release\moc_listmodel.cpp release\moc_editmodel.cpp release\moc_qmldebugger.cpp
                  Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\moc_database.cpp
                  del release\main.o release\database.o release\listmodel.o release\dichiarative.o release\editmodel.o release\qmldebugger.o release\qrc_qml.o release\moc_database.o release\moc_listmodel.o release\moc_editmodel.o release\moc_qmldebugger.o
                  Could Not Find C:\Generale\OneDrive - ELICAT SRL - 03978700288\Developer\QtApplicazioni\youtube_and_web\EVILEG\SQLiteDbAcccesListModel_V3_funziona_con_slot_signal_bidirezionale\build-SQLiteDbAccessListModel-Desktop_Qt_5_9_4_MinGW_32bit-Debug\release\main.o
                  
                  raven-worxR Offline
                  raven-worxR Offline
                  raven-worx
                  Moderators
                  wrote on last edited by raven-worx
                  #9

                  @elicat
                  so the qml.qrc file is in your project root path right? And in this root path there is a "mycomponent" folder containing the MyDelegateFieldEdit.qml file?
                  Also please show the contents of the qrc file

                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                  If you have a question please use the forum so others can benefit from the solution in the future

                  elicatE 1 Reply Last reply
                  1
                  • raven-worxR raven-worx

                    @elicat
                    so the qml.qrc file is in your project root path right? And in this root path there is a "mycomponent" folder containing the MyDelegateFieldEdit.qml file?
                    Also please show the contents of the qrc file

                    elicatE Offline
                    elicatE Offline
                    elicat
                    wrote on last edited by
                    #10

                    @raven-worx yes, it's all right

                    here the file qrc:

                    <RCC>
                        <qresource prefix="/">
                            <file>main.qml</file>
                            <file>edit.qml</file>
                            <file>images/button_down.png</file>
                            <file>images/button_up.png</file>
                            <file>images/add_records.png</file>
                            <file>images/delete_records.png</file>
                            <file>images/close.png</file>
                            <file>js/script.js</file>
                            <file>images/edit_records.png</file>
                            <file>file di prove eseguite/dichiarative.cpp</file>
                            <file>file di prove eseguite/dichiarative.h</file>
                            <file>file di prove eseguite/editmodel.cpp</file>
                            <file>file di prove eseguite/editmodel.h</file>
                            <file>file di prove eseguite/globali.cpp</file>
                            <file>file di prove eseguite/globali.h</file>
                            <file>mycomponent/button.qml</file>
                            <file>images/menu.png</file>
                            <file>mycomponent/MyDelagateFieldEdit.qml</file>
                        </qresource>
                    </RCC>
                    
                    

                    Saluti, Gianfranco Elicat

                    raven-worxR 1 Reply Last reply
                    0
                    • elicatE elicat

                      @raven-worx yes, it's all right

                      here the file qrc:

                      <RCC>
                          <qresource prefix="/">
                              <file>main.qml</file>
                              <file>edit.qml</file>
                              <file>images/button_down.png</file>
                              <file>images/button_up.png</file>
                              <file>images/add_records.png</file>
                              <file>images/delete_records.png</file>
                              <file>images/close.png</file>
                              <file>js/script.js</file>
                              <file>images/edit_records.png</file>
                              <file>file di prove eseguite/dichiarative.cpp</file>
                              <file>file di prove eseguite/dichiarative.h</file>
                              <file>file di prove eseguite/editmodel.cpp</file>
                              <file>file di prove eseguite/editmodel.h</file>
                              <file>file di prove eseguite/globali.cpp</file>
                              <file>file di prove eseguite/globali.h</file>
                              <file>mycomponent/button.qml</file>
                              <file>images/menu.png</file>
                              <file>mycomponent/MyDelagateFieldEdit.qml</file>
                          </qresource>
                      </RCC>
                      
                      
                      raven-worxR Offline
                      raven-worxR Offline
                      raven-worx
                      Moderators
                      wrote on last edited by
                      #11

                      @elicat said in No rule to make target qrc_qml.cpp:

                      <file>mycomponent/MyDelagateFieldEdit.qml</file>

                      MyDelAgate.qml is really correct? Sure it shouldnt be MyDelEgate.qml?

                      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                      If you have a question please use the forum so others can benefit from the solution in the future

                      elicatE 1 Reply Last reply
                      1
                      • raven-worxR raven-worx

                        @elicat said in No rule to make target qrc_qml.cpp:

                        <file>mycomponent/MyDelagateFieldEdit.qml</file>

                        MyDelAgate.qml is really correct? Sure it shouldnt be MyDelEgate.qml?

                        elicatE Offline
                        elicatE Offline
                        elicat
                        wrote on last edited by
                        #12

                        @raven-worx I'm sure. The name is wrong but in the file edit.qml is correct :

                        . . . .
                        import "./mycomponent"
                        
                        . . . . 
                                  model: myModelEdit
                                    delegate: MyDelagateFieldEdit {}
                                    onCurrentIndexChanged: {
                        . . . .
                        

                        Saluti, Gianfranco Elicat

                        raven-worxR 1 Reply Last reply
                        0
                        • elicatE elicat

                          @raven-worx I'm sure. The name is wrong but in the file edit.qml is correct :

                          . . . .
                          import "./mycomponent"
                          
                          . . . . 
                                    model: myModelEdit
                                      delegate: MyDelagateFieldEdit {}
                                      onCurrentIndexChanged: {
                          . . . .
                          
                          raven-worxR Offline
                          raven-worxR Offline
                          raven-worx
                          Moderators
                          wrote on last edited by
                          #13

                          @elicat
                          it may be "correct" in the qml file, but your error is already raised at compile time.
                          My last question is, is the file (in the filesystem) really named like in the qrc file?
                          If your answers were really correct i have no idea. It has to be something with mismatching filename/path, thats what the error says.

                          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                          If you have a question please use the forum so others can benefit from the solution in the future

                          elicatE 1 Reply Last reply
                          1
                          • raven-worxR raven-worx

                            @elicat
                            it may be "correct" in the qml file, but your error is already raised at compile time.
                            My last question is, is the file (in the filesystem) really named like in the qrc file?
                            If your answers were really correct i have no idea. It has to be something with mismatching filename/path, thats what the error says.

                            elicatE Offline
                            elicatE Offline
                            elicat
                            wrote on last edited by
                            #14

                            @raven-worx said in No rule to make target qrc_qml.cpp:

                            @elicat
                            it may be "correct" in the qml file, but your error is already raised at compile time.
                            My last question is, is the file (in the filesystem) really named like in the qrc file?
                            If your answers were really correct i have no idea. It has to be something with mismatching filename/path, thats what the error says.

                            Good morning, It's what I always thought too. But I can not find it. Where do I see if the name in the file system is correct?

                            Saluti, Gianfranco Elicat

                            raven-worxR 1 Reply Last reply
                            0
                            • elicatE elicat

                              @raven-worx said in No rule to make target qrc_qml.cpp:

                              @elicat
                              it may be "correct" in the qml file, but your error is already raised at compile time.
                              My last question is, is the file (in the filesystem) really named like in the qrc file?
                              If your answers were really correct i have no idea. It has to be something with mismatching filename/path, thats what the error says.

                              Good morning, It's what I always thought too. But I can not find it. Where do I see if the name in the file system is correct?

                              raven-worxR Offline
                              raven-worxR Offline
                              raven-worx
                              Moderators
                              wrote on last edited by
                              #15

                              @elicat said in No rule to make target qrc_qml.cpp:

                              Where do I see if the name in the file system is correct?

                              are you kidding me?!?
                              Navigate to the folder and check if the file is named correctly

                              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                              If you have a question please use the forum so others can benefit from the solution in the future

                              elicatE 1 Reply Last reply
                              0
                              • raven-worxR raven-worx

                                @elicat said in No rule to make target qrc_qml.cpp:

                                Where do I see if the name in the file system is correct?

                                are you kidding me?!?
                                Navigate to the folder and check if the file is named correctly

                                elicatE Offline
                                elicatE Offline
                                elicat
                                wrote on last edited by
                                #16

                                @raven-worx said in No rule to make target qrc_qml.cpp:

                                are you kidding me?!?

                                absolutely no, you have patience. I thought there was something else.
                                however, the post I did it because I copied a project from a computer, where it works to another and I have not changed anything except the position of compiling the project. That's why I can not understand what's missing.
                                I try to check for the tenth time.

                                Saluti, Gianfranco Elicat

                                raven-worxR 1 Reply Last reply
                                0
                                • elicatE elicat

                                  @raven-worx said in No rule to make target qrc_qml.cpp:

                                  are you kidding me?!?

                                  absolutely no, you have patience. I thought there was something else.
                                  however, the post I did it because I copied a project from a computer, where it works to another and I have not changed anything except the position of compiling the project. That's why I can not understand what's missing.
                                  I try to check for the tenth time.

                                  raven-worxR Offline
                                  raven-worxR Offline
                                  raven-worx
                                  Moderators
                                  wrote on last edited by
                                  #17

                                  @elicat said in No rule to make target qrc_qml.cpp:

                                  I copied a project from a computer, where it works to another and I have not changed anything except the position of compiling the project

                                  what did you copy? Also the build directory and the .pro.user file?

                                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                                  If you have a question please use the forum so others can benefit from the solution in the future

                                  elicatE 1 Reply Last reply
                                  0
                                  • raven-worxR raven-worx

                                    @elicat said in No rule to make target qrc_qml.cpp:

                                    I copied a project from a computer, where it works to another and I have not changed anything except the position of compiling the project

                                    what did you copy? Also the build directory and the .pro.user file?

                                    elicatE Offline
                                    elicatE Offline
                                    elicat
                                    wrote on last edited by
                                    #18

                                    @raven-worx I have copy all directory of project and after i have removed *.pro.user. When project after this, request configure.

                                    Saluti, Gianfranco Elicat

                                    raven-worxR 1 Reply Last reply
                                    0
                                    • elicatE elicat

                                      @raven-worx I have copy all directory of project and after i have removed *.pro.user. When project after this, request configure.

                                      raven-worxR Offline
                                      raven-worxR Offline
                                      raven-worx
                                      Moderators
                                      wrote on last edited by
                                      #19

                                      @elicat said in No rule to make target qrc_qml.cpp:

                                      When project after this, request configure.

                                      yes that's normal behavior. The .pro.user file should always only be used on the machine it was created.

                                      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                                      If you have a question please use the forum so others can benefit from the solution in the future

                                      1 Reply Last reply
                                      1
                                      • M Offline
                                        M Offline
                                        MaxKofler
                                        wrote on last edited by
                                        #20

                                        I know the solution:

                                        You added this file to qml.qrc or any other qrc. You just have to copy it under another name and it runs!!!

                                        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