Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Problems with freetype and bearer on Windows XP
Forum Update on Monday, May 27th 2025

Problems with freetype and bearer on Windows XP

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 433 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.
  • L Offline
    L Offline
    lolopolosko
    wrote on last edited by
    #1

    Hello
    I try build Qt 5.6.3 for Windows XP with VS2015. After testing on XP I found two problems.. I build qt with -qt-freetype, bearer (default option) and -no-directwrite. Firstly test project always crash if I enable freetype as fontengine. Also crash if I use bearer. When I remove bearer plugins and disable freetype all works fine

    Building Qt with VS2013 no problems, all works fine with freetype and bearer
    I spend a lot of time to find on what problem, but without result :(

    Test project crashed when I create QLabel with freetype engine
    Test project crashed when I create request on google.com

    Configure options:

    -target xp -developer-build -debug-and-release -opensource -c++std c++11 -shared -nomake examples -qt-sql-sqlite -no-icu -qt-libpng -qt-libjpeg -qt-freetype -no-angle -opengl desktop -openssl -I C:\OpenSSL\include -L C:\OpenSSL\bin -make libs -make tools -mp -skip qtwebkit -skip qtwebengine -skip qtwebview -skip qt3d -force-debug-info -no-directwrite
    
    1 Reply Last reply
    0
    • L Offline
      L Offline
      lolopolosko
      wrote on last edited by
      #2

      Test project crashed when I create request on google.com

      So, After two days of debuging I can say that bug was with Q_GLOBAL_STATIC macro.
      I found in qcompilerdetection.h Q_COMPILER_THREADSAFE_STATICS and comment it for VS2015

      Yeah, it works well on Windows 7 and greater version but fails on XP

      Also I can say that Q_GLOBAL_STATIC fails only when I use QtService module (don't know why)

      Test project crashed when I create QLabel with freetype engine

      For Windows XP I can disable freetype engine, but if I do that, my fonts changes to stroke with italic style :D

      1 Reply Last reply
      1

      • Login

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