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. error: ‘class QString’ has no member named ‘toAscii’

error: ‘class QString’ has no member named ‘toAscii’

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
2 Posts 2 Posters 1.9k 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.
  • O Offline
    O Offline
    Onayaaa
    wrote on last edited by
    #1

    Hello everyone, i'm new to this linux stuff and i want to ask you guys about the problem that i had a couple days ago. i tried to install geopsy for my project, but when i got into the installation part, i received this message:
    error: ‘class QString’ has no member named ‘toAscii’

    i've tried everything to solve this problem but nothing happens. Maybe you can help me solve this issue because i've tried everything.

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      QString::toAscii() is deprecated in Qt5 and removed in Qt6. But the documentation tells you how you can replace it.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      3

      • Login

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