简体   繁体   中英

Cannot build Qt5 on Windows for BlackBerry 10

I'm trying to build Qt5 on Windows for the BlackBerry 10 NDK using the source from gitorious following the instructions provided in http://qt-project.org/wiki/Building-Qt5-for-Blackberry . But when I run the command:

configure -prefix C:\Users\Eli\development\qt5 -platform blackberry-armv7le-qcc -opengl es2 -nomake examples -nomake tests -opensource -confirm-license -release

It starts to compile until I get this error:

c:/Users/Eli/development/qt5/qtbase/include/QtCore/../../src/corelib/global/qt_w
indows.h:71:21: fatal error: windows.h: No such file or directory
compilation terminated.
cc: C:/bbndk/gold/host_10_1_0_132/win32/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0
eabi/4.6.3/cc1plus caught signal 1
gmake: *** [qfilesystemengine_win.o] Error 1

Actually, the windows.h file isn't there. Why is this happening? Cloning files from repo didn't return any errors, so I think this is not the problem with the missing file. Any ideas? Thank you.

windows.h comes with Visual Studio/Platform SDK, it's not part of the Qt source tree. But you're trying to build for BlackBerry so it shouldn't be needed.

Looking at your configure command, shouldn't the second parameter be -xplatform and not -platform ?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM