Issue
What directory will give it access in Qt. I currently have it at this root directory when it asks me for it:
C:\Users\me\Dev\Qt\android-ndk-r11c
Which is the directory you get when you directly extract the Android NDK for my system at: https://developer.android.com/ndk/downloads/index.html
And I receive the error:
Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK. Could not read qmake configuration file C:/QtAndroid/5.6/msvc2015_64/mkspecs/android-g++/qmake.conf. Error while parsing file C:\Users\me\Dev\Qt\ImaQtPi\ImaQtPi.pro. Giving up.
Solution
The problem was that the file wasn't the correct NDK file. I downloaded the NDK for 32 bit on accident. What a silly mistake.
Make sure you get the correct NDK from the website!
Other than that it is pretty easy just unzip it and that directory is the root directory. Simple as that.
Answered By - jStaff
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.