Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QT Error creating makefile
Forum Updated to NodeBB v4.3 + New Features

QT Error creating makefile

Scheduled Pinned Locked Moved Solved Installation and Deployment
3 Posts 2 Posters 377 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.
  • ClarkyC Offline
    ClarkyC Offline
    Clarky
    wrote on last edited by
    #1

    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?

    jsulmJ 1 Reply Last reply
    0
    • ClarkyC Offline
      ClarkyC Offline
      Clarky
      wrote on last edited by
      #3

      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

      1 Reply Last reply
      2
      • ClarkyC Clarky

        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?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @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.

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • ClarkyC Offline
          ClarkyC Offline
          Clarky
          wrote on last edited by
          #3

          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

          1 Reply Last reply
          2

          • Login

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