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. Error in generated makefile using qmake
Qt 6.11 is out! See what's new in the release blog

Error in generated makefile using qmake

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 739 Views 1 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.
  • E Offline
    E Offline
    exjra
    wrote on last edited by
    #1

    I develop a few application and library (static or shared)

    I get an error after compiling when copying my output binary to DESTDIR.

    After research I realized that the line in the makefile file produced by qmake;

    "MOVE = move" i change to;
    "MOVE = copy /y"

    it works..

    Why should i do this after running every qmake?

    The first few lines of my makefile file;

    MAKEFILE = Makefile

    EQ = =

    first: make_first
    QMAKE = C:\Qt\Qt5.12.1\5.12.1\android_armv7\bin\qmake.exe or C:\Qt\Qt5.12.1\5.12.1\mingw73_64\bin\qmake.exe
    DEL_FILE = del
    CHK_DIR_EXISTS= if not exist
    MKDIR = mkdir
    COPY = copy /y
    COPY_FILE = copy /y
    COPY_DIR = xcopy /s /q /y /i
    INSTALL_FILE = copy /y
    INSTALL_PROGRAM = copy /y
    INSTALL_DIR = xcopy /s /q /y /i
    QINSTALL = C:\Qt\Qt5.12.1\5.12.1\android_armv7\bin\qmake.exe -install qinstall
    QINSTALL_PROGRAM = C:\Qt\Qt5.12.1\5.12.1\android_armv7\bin\qmake.exe -install qinstall -exe
    DEL_FILE = del
    SYMLINK = $(QMAKE) -install ln -f -s
    DEL_DIR = rmdir
    MOVE = move
    ...

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Can you show your .pro file ?

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

      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