A
A
Anton Artyomov2017-05-20 16:29:32
Qt
Anton Artyomov, 2017-05-20 16:29:32

What is the build problem for Android (CreateProcess failed)?

Good. I am just starting to learn QT and I am already faced with the fact that I am not able to solve problems myself.
The project builds normally under Windows, but under Android the builder issues:

process_begin: CreateProcess(NULL, lrelease D:/QT/kvant/kvant-qt.pro, ...) failed.
make (e=2): Не удается найти указанный файл.

921ce26a3eb941baad423a358f2ac95e.png
And it seems like he swears that he cannot find the file D:/QT/kvant/kvant-qt.pro. But he is. And under Windows normally launches the project. "Pyatsottysch" once already cleared the project and restarted the IDE...
QT 5.8, SDK 25.x, NDK r10b.
How to find the causes of errors?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton Artyomov, 2017-05-23
@ArtyomovAnton

The problem was solved by adding the path to lrelease to the Windows PATH environment variable.
Added the path C:\Qt\Qt5.8.0\5.8\android_armv7\bin\ to PATH, restarted QT Creator and the ointment went...

K
Kastuś, 2017-05-20
@Gytim

How correctly I would like to ask myself, but I had problems compiling android:
1. There are some files in the resources, but there really aren’t (sometimes you just drag them to another place, but you forget to register a new path)
2. There are some files in the resources or psd files (there was a problem when I threw the whole folder into the resources)
3. If libraries are created or others are added, it does not find them when compiling (check if everything is put down correctly in the .pro file).
4. An error in qml, brackets are not in place, and pictures are picked up out of place.
I won’t say which of these errors and in what form, but the application was not going only for android because of them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question