[ SOLVED] [iOS] use of undeclared identifier QProcess
-
Hi all,
I am using Qt5.5 and I have a lib that does not compile anymore for iOS.
It uses QProcess ( my class inherits from it ) and all includes are there ( it was working with 5.4.2 ).With Qt5.5, I now get the following error: use of undeclared identifier 'QProcess'. I tried to directly include the right header ( QtCore/qprocess.h ) but it does not change a thing.
I used Qt5.5 installer ( it is not a custom build ).
Thanks for your help :)
-
Hi,
Here you have the reason why.
Short version: iOS doesn't allow fork/exec -
Hi,
Thank you for your quick answer :)
So it was not supposed to build before I guess. -
I have an idea. We could use qemu-user-static as a library to make QProcess implementation to launch virtual processes inside the process for iOS.