Hi,
I followed these instructions [qt-project.org] for building Qt from source (search for “Prerequisites” on the page, that is where I started).
I did not include WebKit or ICU. When configuring I added “-static”.
But during make, following error occurs:
.obj/debug/positioning_cppsnippet_plugin_import.o: In function `StaticPollPositi
onPluginPluginInstance::StaticPollPositionPluginPluginInstance()':
C:\Qt5\qtlocation\src\positioning\doc\snippets\cpp/positioning_cppsnippet_plugin
_import.cpp:4: undefined reference to `qt_static_plugin_PollPositionPlugin()'
collect2.exe: error: ld returned 1 exit status
Makefile.Debug:81: recipe for target 'debug\positioning_cppsnippet.exe' failed
mingw32-make[5]: *** [debug\positioning_cppsnippet.exe] Error 1
mingw32-make[5]: Leaving directory 'C:/Qt5/qtlocation/src/positioning/doc/snippe
ts/cpp'
Makefile:34: recipe for target 'debug' failed
mingw32-make[4]: *** [debug] Error 2
mingw32-make[4]: Leaving directory 'C:/Qt5/qtlocation/src/positioning/doc/snippe
ts/cpp'
Makefile:38: recipe for target 'sub-cpp-make_first' failed
mingw32-make[3]: *** [sub-cpp-make_first] Error 2
mingw32-make[3]: Leaving directory 'C:/Qt5/qtlocation/src/positioning/doc/snippe
ts'
Makefile:92: recipe for target 'sub-positioning-doc-snippets-make_first' failed
mingw32-make[2]: *** [sub-positioning-doc-snippets-make_first] Error 2
mingw32-make[2]: Leaving directory 'C:/Qt5/qtlocation/src'
Makefile:40: recipe for target 'sub-src-make_first' failed
mingw32-make[1]: *** [sub-src-make_first] Error 2
mingw32-make[1]: Leaving directory 'C:/Qt5/qtlocation'
Makefile:344: recipe for target 'module-qtlocation-make_first' failed
mingw32-make: *** [module-qtlocation-make_first] Error 2
Any clues? Or is there maybe another tutorial that covers my needs? The tutorial for static building of QT [qt-project.org] says that you first need to install the pre-build version which exists only in 32-bit for MinGW :(
↧