Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-26858

Documentation for compiling Creator from Git could be improved

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Fixed
    • Not Evaluated
    • Qt Creator 10.0.0
    • Qt Creator 6.0.1
    • Documentation
    • None
    • Windows
    • 1d5c58775 (10.0)

    Description

      If I search Google for "compile qt creator from git", the first hit is this wiki page: https://wiki.qt.io/Building_Qt_Creator_from_Git

      It links to README.md:

      https://github.com/qt-creator/qt-creator/blob/master/README.md#compiling-qt-creator

      In the Windows section (MSVC build), backslashes are used in some path example and forward slashes in others.

      It would be helpful if the examples made this more explicit. Something like this would have been helpful:

      "-DCMAKE_PREFIX_PATH=C:\Qt\qt6.2;C:\Program Files\LLVM"

      Later, in the options section, it says that installation is not needed. However when I tried to run qtcreator.exe in the build directory, Windows couldn't find all of the supporting .dll files. So I tried the first install command and got the same problem. I then tried the self-contained installation and that was successful.

      However with the self-install command none of the .pdb files that were built were copied into the installation directory (I used DCMAKE_BUILD_TYPE=RelWithDebInfo in the cmake configuration command and the .pdb files exist in the build directory). It would be helpful to specify how one makes a self-install that also installs the .pdb files, if that's possible.

      In case it is not yet obvious, I am a cmake neophyte. Maybe the above points are obvious to someone familiar with cmake.

      Attachments

        For Gerrit Dashboard: QTCREATORBUG-26858
        # Subject Branch Project Status CR V

        Activity

          People

            con Eike Ziller
            aclight Adam Light
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes