BlinCT
March 7, 2021, 7:04 p.m.

How to display debug Qt symbols if you are using CLion instead of QtCreator

I welcome everyone.
As everyone has known for a long time, Qt has already steadily switched to CMake, replacing QMake.
And this means that you and I can use other IDEs to work with this framework.
CLion works great with both CMake and the Qt framework itself. With the exception of working with QML, everything is excellent.
But what should we do if we need to debug the project, but instead of understandable symbols, we get pointers in memory and hard-to-read objects?

  1. We need to copy the directory with debug symbols from the Qt framework, for example, to our user.
  2. Write information in the .gdbinit file so that the debug understands where to go for the necessary information.

The link below has another option through prepared scripts.
Link to original article qt-debug

By article asked0question(s)

1

Comments

Only authorized users can post comments.
Please, Log in or Sign up
  • Last comments
  • Evgenii Legotckoi
    March 9, 2025, 9:02 p.m.
    К сожалению, я этого подсказать не могу, поскольку у меня нет необходимости в обходе блокировок и т.д. Поэтому я и не задавался решением этой проблемы. Ну выглядит так, что вам действитель…
  • VP
    March 9, 2025, 4:14 p.m.
    Здравствуйте! Я устанавливал Qt6 из исходников а также Qt Creator по отдельности. Все компоненты, связанные с разработкой для Android, установлены. Кроме одного... Когда пытаюсь скомпилиров…
  • ИМ
    Nov. 22, 2024, 9:51 p.m.
    Добрый вечер Евгений! Я сделал себе авторизацию аналогичную вашей, все работает, кроме возврата к предидущей странице. Редеректит всегда на главную, хотя в логах сервера вижу запросы на правильн…
  • Evgenii Legotckoi
    Oct. 31, 2024, 11:37 p.m.
    Добрый день. Да, можно. Либо через такие же плагины, либо с постобработкой через python библиотеку Beautiful Soup
  • A
    Oct. 19, 2024, 5:19 p.m.
    Подскажите как это запустить? Я не шарю в программировании и кодинге. Скачал и установаил Qt, но куча ошибок выдается и не запустить. А очень надо fb3 переконвертировать в html