Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. How to change makefile ?

How to change makefile ?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 241 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on last edited by
    #1

    I have experienced yet another OS failure.
    I have a working OS backup and can successfully load my project.

    However, the makefike still "points" to the original OS and its QT.
    I am getting these errors and warning and it wont compile.

    :-1: warning: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
    :-1: error: [Makefile:532: Makefile] Error 127

    How do I safely remove the above warning and error ?

    07:54:00: Running steps for project FT857_CAT_Bluetooth_May7...
    07:54:00: Configuration unchanged, skipping qmake step.
    07:54:00: Starting: "/usr/bin/make" -j4
    cd ../CCC_SOURCE/Aug2017_Bluetooth_QT/ && ( test -e Makefile.Bluetooth || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile.Bluetooth /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT/Bluetooth.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile.Bluetooth 
    cd ../CCC_SOURCE/BLUETOOTH_LIBRARY/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY/BLUETOOTH_LIBRARY.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
    cd ../CCC_SOURCE/BT_Configuration/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration/BT_Configuration.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
    cd ../CCC_SOURCE/BT_Utility_Library/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library/BT_Utility_Library.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
    make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration'
    make[1]: Nothing to be done for 'first'.
    make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration'
    cd ../CCC_SOURCE/Bluetoothctl/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl/Bluetoothctl.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
    make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library'
    make[1]: Nothing to be done for 'first'.
    make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library'
    cd ../CCC_SOURCE/C_CODE_FORM/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM/C_CODE_FORM.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
    make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT'
    make[1]: Nothing to be done for 'first'.
    make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT'
    cd ../CCC_SOURCE/C_CODE_ORIGINAL/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL/C_CODE_ORIGINAL.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
    make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY'
    make[1]: Nothing to be done for 'first'.
    make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY'
    cd ../CCC_SOURCE/FT857_PROJECT_NOTES/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES/FT857_PROJECT_NOTES.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
    make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl'
    make[1]: Nothing to be done for 'first'.
    make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl'
    cd ../CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI/terminal_Bluetooth_MDI.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
    make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM'
    /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile C_CODE_FORM.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
    make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
    make[1]: *** [Makefile:532: Makefile] Error 127
    make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM'
    make: *** [Makefile:188: sub----CCC_SOURCE-C_CODE_FORM-make_first] Error 2
    make: *** Waiting for unfinished jobs....
    make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES'
    /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile FT857_PROJECT_NOTES.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
    **make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
    make[1]: *** [Makefile:505: Makefile] Error 127**
    make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES'
    make: *** [Makefile:238: sub----CCC_SOURCE-FT857_PROJECT_NOTES-make_first] Error 2
    make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL'
    /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile C_CODE_ORIGINAL.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
    make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
    make[1]: *** [Makefile:517: Makefile] Error 127
    make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL'
    make: *** [Makefile:213: sub----CCC_SOURCE-C_CODE_ORIGINAL-make_first] Error 2
    make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI'
    /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile terminal_Bluetooth_MDI.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
    make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
    make[1]: *** [Makefile:551: Makefile] Error 127
    make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI'
    make: *** [Makefile:263: sub----CCC_SOURCE-SOURCE_SERIAL_TERMINAL-terminal_Bluetooth_MDI-make_first] Error 2
    07:54:02: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project FT857_CAT_Bluetooth_May7 (kit: Desktop Qt 5.15.2 GCC 64bit)
    When executing step "Make"
    07:54:02: Elapsed time: 00:02.
    
    
    JoeCFDJ 1 Reply Last reply
    0
    • A Anonymous_Banned275

      I have experienced yet another OS failure.
      I have a working OS backup and can successfully load my project.

      However, the makefike still "points" to the original OS and its QT.
      I am getting these errors and warning and it wont compile.

      :-1: warning: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
      :-1: error: [Makefile:532: Makefile] Error 127

      How do I safely remove the above warning and error ?

      07:54:00: Running steps for project FT857_CAT_Bluetooth_May7...
      07:54:00: Configuration unchanged, skipping qmake step.
      07:54:00: Starting: "/usr/bin/make" -j4
      cd ../CCC_SOURCE/Aug2017_Bluetooth_QT/ && ( test -e Makefile.Bluetooth || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile.Bluetooth /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT/Bluetooth.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile.Bluetooth 
      cd ../CCC_SOURCE/BLUETOOTH_LIBRARY/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY/BLUETOOTH_LIBRARY.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
      cd ../CCC_SOURCE/BT_Configuration/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration/BT_Configuration.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
      cd ../CCC_SOURCE/BT_Utility_Library/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library/BT_Utility_Library.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
      make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration'
      make[1]: Nothing to be done for 'first'.
      make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Configuration'
      cd ../CCC_SOURCE/Bluetoothctl/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl/Bluetoothctl.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
      make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library'
      make[1]: Nothing to be done for 'first'.
      make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BT_Utility_Library'
      cd ../CCC_SOURCE/C_CODE_FORM/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM/C_CODE_FORM.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
      make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT'
      make[1]: Nothing to be done for 'first'.
      make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Aug2017_Bluetooth_QT'
      cd ../CCC_SOURCE/C_CODE_ORIGINAL/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL/C_CODE_ORIGINAL.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
      make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY'
      make[1]: Nothing to be done for 'first'.
      make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/BLUETOOTH_LIBRARY'
      cd ../CCC_SOURCE/FT857_PROJECT_NOTES/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES/FT857_PROJECT_NOTES.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
      make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl'
      make[1]: Nothing to be done for 'first'.
      make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/Bluetoothctl'
      cd ../CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI/ && ( test -e Makefile || /home/q9/Qt/5.15.2/gcc_64/bin/qmake -o Makefile /media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI/terminal_Bluetooth_MDI.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile 
      make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM'
      /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile C_CODE_FORM.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
      make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
      make[1]: *** [Makefile:532: Makefile] Error 127
      make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_FORM'
      make: *** [Makefile:188: sub----CCC_SOURCE-C_CODE_FORM-make_first] Error 2
      make: *** Waiting for unfinished jobs....
      make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES'
      /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile FT857_PROJECT_NOTES.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
      **make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
      make[1]: *** [Makefile:505: Makefile] Error 127**
      make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/FT857_PROJECT_NOTES'
      make: *** [Makefile:238: sub----CCC_SOURCE-FT857_PROJECT_NOTES-make_first] Error 2
      make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL'
      /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile C_CODE_ORIGINAL.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
      make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
      make[1]: *** [Makefile:517: Makefile] Error 127
      make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/C_CODE_ORIGINAL'
      make: *** [Makefile:213: sub----CCC_SOURCE-C_CODE_ORIGINAL-make_first] Error 2
      make[1]: Entering directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI'
      /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake -o Makefile terminal_Bluetooth_MDI.pro -spec linux-clang CONFIG+=debug CONFIG+=qml_debug
      make[1]: /home/nov25-1/Qt/Nov26/5.15.2/gcc_64/bin/qmake: No such file or directory
      make[1]: *** [Makefile:551: Makefile] Error 127
      make[1]: Leaving directory '/media/q9/RAID_124/PROJECTS_May7_BASE_MDI_/CCC_SOURCE/SOURCE_SERIAL_TERMINAL/terminal_Bluetooth_MDI'
      make: *** [Makefile:263: sub----CCC_SOURCE-SOURCE_SERIAL_TERMINAL-terminal_Bluetooth_MDI-make_first] Error 2
      07:54:02: The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project FT857_CAT_Bluetooth_May7 (kit: Desktop Qt 5.15.2 GCC 64bit)
      When executing step "Make"
      07:54:02: Elapsed time: 00:02.
      
      
      JoeCFDJ Offline
      JoeCFDJ Offline
      JoeCFD
      wrote on last edited by
      #2

      @AnneRanch

      1. for qmake build with pro file
        do make distclean to remove all make files and rerun .
        qmake -o Makefile path/project.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug CONFIG+=force_debug_info CONFIG+=separate_debug_info
      2. for cmake build,
        remove everything in the build dir and rerun cmake ..
      A 1 Reply Last reply
      0
      • JoeCFDJ JoeCFD

        @AnneRanch

        1. for qmake build with pro file
          do make distclean to remove all make files and rerun .
          qmake -o Makefile path/project.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug CONFIG+=force_debug_info CONFIG+=separate_debug_info
        2. for cmake build,
          remove everything in the build dir and rerun cmake ..
        A Offline
        A Offline
        Anonymous_Banned275
        wrote on last edited by
        #3

        @JoeCFD Thanks. will do.

        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