Discussion:
[Qt-creator] Build/run/debug xcode projects (using xcodebuild)
Christoph Keller
2018-07-23 09:55:32 UTC
Permalink
Hello,


when creating an iOS project with subdirs and libraries, qmake as called
by QtCreator generates Makefiles for all subdirs/libraries and a xcode
project for the "app" project.

For my case I need all files to be xcode projects, so I configure the
"qmake"-step with additional parameters "-spec macx-xcode -recursive".
For some reason there's no way to stop QtCreator from adding "&& make
qmake_all". So it fails since there's no Makefile.

Furthermore I removed the "make" step and added an "xcodebuild"
(IosBuildStep), but QtCreator does not accept this as "make" step and
fails building with the following message:

11:31:19: Could not determine which "make" command to run. Check the
"make" step in the build configuration.

Error while building/deploying project library (kit: Qt 5.10.1 for iOS)

When executing step "qmake"


Therefore I can’t build/run/debug via QtCreator and I have to use XCode
for these tasks - which I do not prefer. Is there some way to get this
configuration working?

Thank you,
Christoph
Tobias Hunger
2018-07-23 11:16:37 UTC
Permalink
Hi Christoph,

lots of people are on vacation right now, incl. the regular mac users
in our team. I am not sure you will get a satisfactory reply here
soon.

Please consider to file a bug report an bugreports.qt.io. At least a
bug report will not get lost like mails to a mailing list tend to be.

Best Regards,
Tobias
On Mon, Jul 23, 2018 at 11:55 AM Christoph Keller
Post by Christoph Keller
Hello,
when creating an iOS project with subdirs and libraries, qmake as called by QtCreator generates Makefiles for all subdirs/libraries and a xcode project for the "app" project.
For my case I need all files to be xcode projects, so I configure the "qmake"-step with additional parameters "-spec macx-xcode -recursive". For some reason there's no way to stop QtCreator from adding "&& make qmake_all". So it fails since there's no Makefile.
11:31:19: Could not determine which "make" command to run. Check the "make" step in the build configuration.
Error while building/deploying project library (kit: Qt 5.10.1 for iOS)
When executing step "qmake"
Therefore I can’t build/run/debug via QtCreator and I have to use XCode for these tasks - which I do not prefer. Is there some way to get this configuration working?
Thank you,
Christoph
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
Christoph Keller
2018-07-23 13:21:30 UTC
Permalink
Hi Tobias,

I've created two issues for this:
https://bugreports.qt.io/browse/QTCREATORBUG-20845
https://bugreports.qt.io/browse/QTCREATORBUG-20847

Kind regards,
Christoph
Post by Tobias Hunger
Hi Christoph,
lots of people are on vacation right now, incl. the regular mac users
in our team. I am not sure you will get a satisfactory reply here
soon.
Please consider to file a bug report an bugreports.qt.io. At least a
bug report will not get lost like mails to a mailing list tend to be.
Best Regards,
Tobias
On Mon, Jul 23, 2018 at 11:55 AM Christoph Keller
Post by Christoph Keller
Hello,
when creating an iOS project with subdirs and libraries, qmake as called by QtCreator generates Makefiles for all subdirs/libraries and a xcode project for the "app" project.
For my case I need all files to be xcode projects, so I configure the "qmake"-step with additional parameters "-spec macx-xcode -recursive". For some reason there's no way to stop QtCreator from adding "&& make qmake_all". So it fails since there's no Makefile.
11:31:19: Could not determine which "make" command to run. Check the "make" step in the build configuration.
Error while building/deploying project library (kit: Qt 5.10.1 for iOS)
When executing step "qmake"
Therefore I can’t build/run/debug via QtCreator and I have to use XCode for these tasks - which I do not prefer. Is there some way to get this configuration working?
Thank you,
Christoph
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
Loading...