Qt Forum

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

    Undefined reference to QIconvCodec during embedded make?

    Mobile and Embedded
    1
    2
    1132
    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.
    • C
      crstjean last edited by

      I'm trying to configure my Qt for Embedded Linux with a virtual framebuffer according to "these instructions":http://qt-project.org/doc/qt-4.8/qvfb.html. From the Qt for Embedded source folder, I'm trying:

      @./configure -embedded -opensource -confirm-license -verbose -qvfb
      make@

      I get the following error which prevents me from doing make install:

      @.obj/release-shared-emb-x86/qtextcodec.o: In function setup()': qtextcodec.cpp:(.text+0x23cc): undefined reference to QIconvCodec::QIconvCodec()'
      collect2: ld returned 1 exit status
      make[1]: *** [../../lib/libQtCore.so.4.8.4] Error 1
      make[1]: Leaving directory `/home/cstjean/qt/src/corelib'
      make: *** [sub-corelib-all-ordered] Error 2@

      If I do:

      @./configure -embedded -opensource -confirm-license -verbose -qvfb
      make -no-iconv
      sudo make install -no-iconv @

      ...This works. But when I go into QtCreator, Tools > Options > Build & Run > Qt Versions, I try to select qmake for Qt Embedded (for me it's in /home/cstjean/qt/bin/qmake) and it tells me:

      @Qt version is not properly installed, please run make install@

      I've tried googling this like crazy. There are a lot of suggestions to download various libraries, which I've tried to no avail, but perhaps I'm missing something because this is a pretty fresh installation of Ubuntu I'm using.

      If anyone had any suggestions, I'd appreciate it. Thanks.

      1 Reply Last reply Reply Quote 0
      • C
        crstjean last edited by

        I cross-posted this problem to StackOverflow and solved the problem myself. My answer can be found "here":http://stackoverflow.com/questions/17050177/undefined-reference-to-qiconvcodec-during-qt-embedded-make

        But to sum up my answer, you need Gnome if you're trying to install Qt Embedded for Linux with a Virtual Framebuffer on Ubuntu.

        Install Gnome for your version of Ubuntu, uninstall your previous Qt Embedded attempts, and reinstall Qt Embedded.

        Hope this helps!

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