WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] Trying to build Qt Creator on TC 5.4  (Read 5991 times)

Offline dspence

  • Newbie
  • *
  • Posts: 25
[Solved] Trying to build Qt Creator on TC 5.4
« on: October 31, 2014, 01:07:01 PM »
Hi,

I'm trying to build Qt-Creator on Tiny Core 5.4.  I've followed the instructions found here:
http://www.m-opensolutions.com/?p=600
http://www.m-opensolutions.com/?p=622
with updates to the scripts to use newer versions of the sources (qt-everywhere-opensource-src-5.3.2.tar.gz and qt-creator-opensource-src-3.2.1.tar.gz).

After building, Qt Creator won't run without "-noload Welcome" on the command line.  Which is fine.  But the keyboard doesn't work.

Output in the terminal looks like this:
Code: [Select]
tc@box:~/build/qt-creator-opensource-src-3.2.1/bin$ ./qtcreator.sh -noload Welcome
xkbcommon: ERROR: failed to add default include path auto
Qt: Failed to create XKB context!
Use QT_XKB_CONFIG_ROOT environmental variable to provide an additional search path, add ':' as separator to provide several search paths and/or make sure that XKB configuration data directory contains recent enough contents, to update please see http://cgit.freedesktop.org/xkeyboard-config/ .
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
Could not initialize OpenGL for RasterGLSurface, reverting to RasterSurface.
tc@box:~/build/qt-creator-opensource-src-3.2.1/bin$

Does anyone know how to solve the keyboard issue?

Thanks!
« Last Edit: October 31, 2014, 03:09:09 PM by dspence »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Trying to build Qt Creator on TC 5.4
« Reply #1 on: October 31, 2014, 02:10:05 PM »
Read the error message.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline dspence

  • Newbie
  • *
  • Posts: 25
Re: Trying to build Qt Creator on TC 5.4
« Reply #2 on: October 31, 2014, 03:06:27 PM »
Lol!  Thanks.

I guess I just needed to figure out that the config is in /usr/local/share/X11/xkb.  Looks like it's installed with the xkeyboard-config.tcz extension.  Setting the environment variable to that path and starting qtcreator again made it work.