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. Qt GUI Application does not display labels on Windows Embedded Compact 7

Qt GUI Application does not display labels on Windows Embedded Compact 7

Scheduled Pinned Locked Moved Mobile and Embedded
wec7qt5.4
3 Posts 2 Posters 2.1k Views
  • 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
    chaoticcast
    wrote on 16 Mar 2015, 11:47 last edited by chaoticcast
    #1

    Greetings fellow developers,

    I recently deployed two applications on a Windows Embedded Compact 7 device, a Qt Quick 2 application and a Qt GUI (Widget) application. Both applications work fine, but the Qt GUI application does not show any labels, neither on buttons nor on QLabel instances. I toyed arround with several different fonts and colors, but without success. There are no error messages at runtime or at compiletime that indicate any problem regarding fonts. The Qt Quick 2 application does not show this kind of error, all labels are displayed, correctly.
    Both applications work fine in a desktop environment, everything is shown.

    Things I have tried so far:

    • Changing font color and background color.
    • Increasing font size.
    • Using various fonts that are present on the target system, like Arial.
    • Deactivated font antialiasing.
    • Switched to rich font and real font.
    • Copied all font files for the target system to the application directory I run the application from.

    System information:

    • Qt 5.4.1 for Windows CE, compiled by myself for the target system. The configuration used is shown below.
      configure -platform win32-msvc2008 -xplatform wince70embedded-armv4i-msvc2008 -nomake examples -no-accessibility –opengl es2 -opensource -release –skip activeqt –skip winextras –prefix <InstallDir>
    • Qt Creator 3.2.1 as developement platform.
    • ARM v4i based board

    I have no further clue how to solve this problem, maybe someone has further insight regarding this problem. If neccessary, I could provide some code, but the application is very simple, containing a single button and two labels. If further information is required, I will provide it, gladly.

    Thanks in advance.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      joska
      wrote on 18 Mar 2015, 08:56 last edited by
      #2

      Hi,
      This problem looks similar to my question I asked few days ago. QML APP looks good except fonts.
      My target is Intel Atom E6xx Windows Embedded Standard 7, but maybe the problem is somehow related.
      https://forum.qt.io/topic/52108/intel-atom-e6xx-and-wes7-deploying

      What can help you:
      Check what version of OpenGL is present on your platform. It is usually version 1.1 on Windows, but QT needs > 1.1
      Check if you can use ANGLE on WIN CE configuration. This will use DirectX 9 or 11 to display QtQuick.

      You can find more information hire:
      http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL

      C 1 Reply Last reply 20 Mar 2015, 09:03
      0
      • J joska
        18 Mar 2015, 08:56

        Hi,
        This problem looks similar to my question I asked few days ago. QML APP looks good except fonts.
        My target is Intel Atom E6xx Windows Embedded Standard 7, but maybe the problem is somehow related.
        https://forum.qt.io/topic/52108/intel-atom-e6xx-and-wes7-deploying

        What can help you:
        Check what version of OpenGL is present on your platform. It is usually version 1.1 on Windows, but QT needs > 1.1
        Check if you can use ANGLE on WIN CE configuration. This will use DirectX 9 or 11 to display QtQuick.

        You can find more information hire:
        http://qt-project.org/wiki/Qt-5-on-Windows-ANGLE-and-OpenGL

        C Offline
        C Offline
        chaoticcast
        wrote on 20 Mar 2015, 09:03 last edited by
        #3

        @joska
        Hi,

        Thanks for the insight. The problems might be related, but in my case QtQuick works fine, only Qt widget based applications yield this error. OpenGL version on platform is ES 2.X and hardware acceleration is available, at least to standalone QpenGL applications.

        1 Reply Last reply
        0

        3/3

        20 Mar 2015, 09:03

        • Login

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