Qt Forum

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

    Qt Academy Launch in California!

    Qt 4.7.2 and LTIB

    Mobile and Embedded
    2
    2
    2364
    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.
    • L
      luca.cossaro last edited by

      Hi all,

      I've some problems compiling Qt 4.7.2 for ARM using LTIB. I've previously successfully compiled Qt 4.7.1 for the same platform, but when I have decided to try 4.7.2 I got these errors:

      @
      .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::isAutoCommitOn() const': SQLiteDatabase.cpp:(.text._ZNK7WebCore14SQLiteDatabase14isAutoCommitOnEv+0x8): undefined reference to sqlite3_get_autocommit'
      .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::enableAuthorizer(bool)': SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase16enableAuthorizerEb+0x2c): undefined reference to sqlite3_set_authorizer'
      SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase16enableAuthorizerEb+0x44): undefined reference to sqlite3_set_authorizer' .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::lastErrorMsg()':
      SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase12lastErrorMsgEv+0x8): undefined reference to sqlite3_errmsg' .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::lastError()':
      SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase9lastErrorEv+0x10): undefined reference to sqlite3_errcode' .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::lastChanges()':
      SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase11lastChangesEv+0xc): undefined reference to sqlite3_changes' .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::lastInsertRowID()':
      SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase15lastInsertRowIDEv+0x18): undefined reference to sqlite3_last_insert_rowid' .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::setBusyTimeout(int)':
      SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase14setBusyTimeoutEi+0xc): undefined reference to sqlite3_busy_timeout' .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::close()':
      SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase5closeEv+0x14): undefined reference to sqlite3_close' .obj/release-shared/SQLiteDatabase.o: In function WebCore::SQLiteDatabase::open(WebCore::String const&)':
      SQLiteDatabase.cpp:(.text._ZN7WebCore14SQLiteDatabase4openERKNS_6StringE+0xa4): undefined reference to sqlite3_close' .obj/release-shared/SQLiteFileSystem.o: In function WebCore::SQLiteFileSystem::openDatabase(WebCore::String const&, sqlite3**)':
      SQLiteFileSystem.cpp:(.text._ZN7WebCore16SQLiteFileSystem12openDatabaseERKNS_6StringEPP7sqlite3+0x30): undefined reference to `sqlite3_open16'
      @

      ... and so on.

      sqlite3 is installed in ltib with all its libraries.

      the configure parameters are:
      @
      ./configure --prefix=/home/luca/imx51/2.6.35/ltib/rootfs/usr/local/Trolltech
      -arch arm
      -xplatform linux-g++-mx
      -release
      -qt-gfx-linuxfb
      -qt-kbd-tty
      -little-endian
      -host-little-endian
      -fontconfig
      -sm
      -v
      -no-accessibility
      -plugin-sql-sqlite
      -system-sqlite
      -opensource
      -confirm-license
      -opengl es2
      @

      Any ideas?

      Thank you all.

      1 Reply Last reply Reply Quote 0
      • Alicemirror
        Alicemirror last edited by

        Hi Luca, I'm working on a similar environment too (Ltib + arm) and I am deciding what is the best solution to integrate QT in an embedded platform. Can you tell me more about your project? Discuss about ? Share / cooperate?

        Thanks.

        Enrico Miglino (aka Alicemirror)
        Balearic Dynamics
        Islas Baleares, Ibiza (Spain)
        www.balearicdynamics.com

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