Questions about using qt creator

qt creator

Multi-version installation is required (download the qtcreator installation version separately), the installation directory is in the Qt directory by default (qt's sdk is also in the qt directory)

Some strange problems were encountered during the compilation process. It is recommended to recompile first.

issue

  • qtcreator inappropriate for the inferior

When building a kit, the exclamation point in front of it will indicate that it is usually caused by ABI incompatibility and other issues. Modify until the symbol changes to a computer icon.

  • During debugging and running, files such as qt*core.dll cannot be found.

Setting the qt{version}\bin path to the environment variable Path
allows you to append path to the environment variables set by the qt project without affecting the system's environment variables.

  • Can't find help for qt sdk

In the settings, find help and add the files in the qt sdk directory doc\qch

  • Compile time and debugger matching issues

mingw–>gdb
clang–>lldb、gdb
msvc–>cdb

  • gdb does not support python script
  1. It is required to install
    Insert image description here
    the gdb-python27 downloaded from mingw32-gdb-python-bin, install the x86 python27 environment and configure PYTHONHOME
  2. msys2 installs mingw-w64-i686-gdb, and both the compiler and debugger use the tools in msys2
  • Downloading versions after qt5.14 requires compiling by yourself. 5.14 supports more compilers.

https://download.qt.io/archive/qt/

  • Cannot find _Zdlpvj function entry

Copy the libstdc+±6.dll module to the program running directory, or run the configuration environment, and append the ming32\bin path to the path (use Prepend, append will not work, do not load the build configuration)
Insert image description here

Guess you like

Origin blog.csdn.net/daoer_sofu/article/details/131203778
Recommended