Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QT Error creating makefile



  • QT Version: 5.14.2
    OSX Version: 11.0.1

    I recently updated my machine and QT version and I am now having trouble creating a .IPA file so I can run/export my project through xcode.

    $QTPATH/ios/bin/qmake $WORKSPACE/builds/GCQML/project_application.pro -spec macx-ios-clang CONFIG+=x86_64 CONFIG+=qtquickcompiler CONFIG+=iphoneos CONFIG+=release CONFIG+=master CONFIG+=live
    make -j8
    

    This script previously worked but now that I have updated I get this error:

    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    ===================
    Maybe you forgot to setup the environment?
    make: *** No targets specified and no makefile found.  Stop.
    

    Any suggestions or ideas why the makefile is no longer being created?



  • I've managed to fix the issue, it was related to this bug, I used one of the fixes in the comments.

    Bug report w/ fix here


  • Lifetime Qt Champion

    @Clarky said in QT Error creating makefile:

    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    What is the actual error? Should be above this line.



  • I've managed to fix the issue, it was related to this bug, I used one of the fixes in the comments.

    Bug report w/ fix here


Log in to reply