Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Windows: Qt6 interprets all source as utf8?
Forum Updated to NodeBB v4.3 + New Features

Windows: Qt6 interprets all source as utf8?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 391 Views 2 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.
  • D Offline
    D Offline
    davecotter
    wrote on last edited by
    #1

    I have 2 kits, qt5, and qt6. They both use the same compiler (vs 2019). The source code is all encoded "macRoman (code page 10000)". The qmake file has these lines:

    CONFIG += no_utf8_source
    QMAKE_CXXFLAGS += /source-charset:.10000	# macroman code page
    

    This works fine in qt5.
    In qt6, it is apparently ignored, and my text comes out with garbled curly-quotes and elipsis, among other things.

    Is there some setting in Qt Creator to fix this? Or what am I missing?

    -dave

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      This is a continuation of the discussion at https://lists.qt-project.org/pipermail/interest/2021-July/037277.html

      I'm afraid I don't know the solution to your issue, but perhaps someone else might be able to find some clues from the linked thread.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      0

      • Login

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