Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt5 broken or why -QtCore and -pthread are not found.

    Tools
    1
    1
    1082
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mmertama last edited by

      I have wrote a Qt application for Symbian and Meego using Qt4 - now I took sources and try to bring application to Android. I installed the latest open source binary release on windows.

      About note tells me:
      Qt Creator 3.0.1
      Based on Qt 5.2.1 (MSVC 2010, 32 bit)
      Built on Jan 31 2014 at 05:16:27
      From revision 51af63bb9e

      After few minor SW changes needed from Qt4-->Qt5 it otherwise seems to get build smoothly, except QtCore nor pthread are found:
      c:/users/mertama/appdata/local/android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot find -lQtCore
      makefile:213: recipe for target 'libqmics.so' failed
      c:/users/mertama/appdata/local/android/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld.exe: error: cannot find -lpthread

      ...When I looked from my C:\Qt folder there was no libqtcore. * etc files available for Android (or libpthread. *), however libqt5core. * files are there.

      Should those libraries be there? If yes, does anyone else have they there in the installation?`- Could my installation be broken or is the Qt installer broken?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post