Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Undefined reference to QIconvCodec during embedded make?
Forum Updated to NodeBB v4.3 + New Features

Undefined reference to QIconvCodec during embedded make?

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.2k Views 1 Watching
  • 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 Offline
    C Offline
    crstjean
    wrote on 11 Jun 2013, 18:58 last edited by
    #1

    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
    0
    • C Offline
      C Offline
      crstjean
      wrote on 12 Jun 2013, 15:10 last edited by
      #2

      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
      0

      1/2

      11 Jun 2013, 18:58

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved