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

Documentation for compiling Creator from Git could be improved

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 6.0.1
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None
    • Platform/s:
      Windows

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            cadam Cristian Adam
            Reporter:
            aclight Adam Light
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes