VisualGDB Raspberry Pi Qt5.15.0 Project

Sysprogs forums Forums VisualGDB VisualGDB Raspberry Pi Qt5.15.0 Project

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #28321
    nahumb
    Participant

    Hi,

    Just successfully finalized building and installing the latest Qt5.15.0 on my Raspberry Pi 4B.

    Installation path is: /usr/local/Qt-5.15.0.

    This path includes bin, include, lib, mkspecs, plugins, qml and additional sub directories.

    Is there a tutorial/guidelines how to set/change a VisualGDB Raspberry Pi CMake Qt5 project paths (mainly Qt toolchain and CMake files) to fit this new location?

    Thanks,

    Nahum Budin

    #28336
    support
    Keymaster

    Hi,

    VisualGDB does not use any special mechanism for Qt – it simply delegates the work to CMake, hence we do not have any special instructions for it.

    Normally, CMake would pick it up automatically, as long as you resynchronize the sysroot via VisualGDB Project Properties -> Build Settings. If not, you may need to specify the CMAKE_PREFIX_PATH to point to the directory inside the toolchain where VisualGDB has copied the built Qt files.

    You can set CMAKE_PREFIX_PATH via VisualGDB Project Properties -> CMake -> Extra Prefix Directories. If you are not sure about the exact value to set, please consider searching online for “qt cmake_prefix_path” for examples from Qt documentation and other discussions.

    #28348
    nahumb
    Participant

    Thank you.

    Will give it a try.

    Nahum.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.