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' after upgrading Qt on mac

'No rule to make target' after upgrading Qt on mac

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 952 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.
  • K Offline
    K Offline
    kitfox
    wrote on last edited by
    #1

    I just upgraded the version of Qt I have on my mac and am now no longer able to compile a project that I used to be able to compile and run. I get the error No rule to make target 'Colibri'. Stop. This is the name of the project itself, so I'm not sure what it is failing to find.

    How would I get my project running again?

    #-------------------------------------------------
    #
    # Project created by QtCreator 2018-10-26T15:25:57
    #
    #-------------------------------------------------
    
    QT += core gui xml qml
    
    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
    
    TARGET = Colibri
    TEMPLATE = app
    
    INCLUDEPATH += ../thirdParty/ffmpeg/include
    
    
    macx {
    #MacOs specific stuff
    LIBS += -L$$PWD/../thirdParty/ffmpeg/macos/bin
    LIBS += -lavcodec.58 -lavformat.58 -lavutil.56 -lswscale.5 -lswresample.3
    }
    
    
    DEFINES += QT_DEPRECATED_WARNINGS
    
    CONFIG += c++17
    
    QMAKE_CXXFLAGS += -Wno-unused-parameter -Wswitch -Wno-reorder
    
    
    SOURCES += \
        components/CompColor.cpp \
        components/CompMaterial.cpp \
     ...
    
    HEADERS += \
        components/CompColor.h \
        components/CompMaterial.h \
     ...
    
    FORMS += \
        mainwindow.ui \
        ui/AnimationEditor.ui \
     ...
    
    
    # Default rules for deployment.
    qnx: target.path = /tmp/$${TARGET}/bin
    else: unix:!android: target.path = /opt/$${TARGET}/bin
    !isEmpty(target.path): INSTALLS += target
    
    RESOURCES += \
        resources/mainresources.qrc
    
    DISTFILES += \
        resources/settings.xml \
        resources/config.js
    
    TRANSLATIONS = myApp_de.ts \
                   myApp_fr.ts \
                   myApp_en.ts
    
    
    J.HilkJ 1 Reply Last reply
    0
    • K kitfox

      I just upgraded the version of Qt I have on my mac and am now no longer able to compile a project that I used to be able to compile and run. I get the error No rule to make target 'Colibri'. Stop. This is the name of the project itself, so I'm not sure what it is failing to find.

      How would I get my project running again?

      #-------------------------------------------------
      #
      # Project created by QtCreator 2018-10-26T15:25:57
      #
      #-------------------------------------------------
      
      QT += core gui xml qml
      
      greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
      
      TARGET = Colibri
      TEMPLATE = app
      
      INCLUDEPATH += ../thirdParty/ffmpeg/include
      
      
      macx {
      #MacOs specific stuff
      LIBS += -L$$PWD/../thirdParty/ffmpeg/macos/bin
      LIBS += -lavcodec.58 -lavformat.58 -lavutil.56 -lswscale.5 -lswresample.3
      }
      
      
      DEFINES += QT_DEPRECATED_WARNINGS
      
      CONFIG += c++17
      
      QMAKE_CXXFLAGS += -Wno-unused-parameter -Wswitch -Wno-reorder
      
      
      SOURCES += \
          components/CompColor.cpp \
          components/CompMaterial.cpp \
       ...
      
      HEADERS += \
          components/CompColor.h \
          components/CompMaterial.h \
       ...
      
      FORMS += \
          mainwindow.ui \
          ui/AnimationEditor.ui \
       ...
      
      
      # Default rules for deployment.
      qnx: target.path = /tmp/$${TARGET}/bin
      else: unix:!android: target.path = /opt/$${TARGET}/bin
      !isEmpty(target.path): INSTALLS += target
      
      RESOURCES += \
          resources/mainresources.qrc
      
      DISTFILES += \
          resources/settings.xml \
          resources/config.js
      
      TRANSLATIONS = myApp_de.ts \
                     myApp_fr.ts \
                     myApp_en.ts
      
      
      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #2

      @kitfox delete the whole Build directory by hand and than rebuild the project

      Simply calling clean and rebuild is not enough after an xcode/osx update


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      3

      • Login

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