Skip to content

no discussion in this repository, so opened an issue (QML_IMPORT_PATH) #3

@shemeshg

Description

@shemeshg

(not sure is discussions are welcome), I've been considering whether using:

list(APPEND QML_DIRS ${CMAKE_CURRENT_SOURCE_DIR})
set(QML_IMPORT_PATH "${QML_DIRS}" CACHE STRING "Import paths for Qt Creator's code model" FORCE)

or, when working with a Qt Designer in subdirectory:

list(APPEND QML_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/Design/)
set(QML_IMPORT_PATH "${QML_DIRS}" CACHE STRING "Import paths for Qt Creator's code model" FORCE)

is better than ${CMAKE_BINARY_DIR}/. This way, right-clicking follow symbol under cursor will lead to something we can actually edit, rather than something volatile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions