Wrong QML_IMPORT_PATH value in Hangman example
-
I do not understand quite enough what
QML_IMPORT_PATHis, for example what doesQML_IMPORT_PATH = $$PWD/hangmangame.hmean in hangman\hangman.pro` in QT 6.6.2?
Is not it simply a typo?
My understanding is that
QML_IMPORT_PATHis something related to QML files, but not to C++ headers. -
I do not understand quite enough what
QML_IMPORT_PATHis, for example what doesQML_IMPORT_PATH = $$PWD/hangmangame.hmean in hangman\hangman.pro` in QT 6.6.2?
Is not it simply a typo?
My understanding is that
QML_IMPORT_PATHis something related to QML files, but not to C++ headers.@Dmitriano said in Wrong QML_IMPORT_PATH value in Hangman example:
QML_IMPORT_PATH
Maybe documentation clarifies its purpose
-
@Dmitriano said in Wrong QML_IMPORT_PATH value in Hangman example:
QML_IMPORT_PATH
Maybe documentation clarifies its purpose
-
I do not understand quite enough what
QML_IMPORT_PATHis, for example what doesQML_IMPORT_PATH = $$PWD/hangmangame.hmean in hangman\hangman.pro` in QT 6.6.2?
Is not it simply a typo?
My understanding is that
QML_IMPORT_PATHis something related to QML files, but not to C++ headers.@Dmitriano said in Wrong QML_IMPORT_PATH value in Hangman example:
My understanding is that QML_IMPORT_PATH is something related to QML files, but not to C++ headers.
I agree with you, looks also strange to me.
IFAIK,QML_IMPORT_PATHshould only contains directories and not files. By the way, if it contains files, they should be only QML files, I guess.
Maybe a bug? -
@Dmitriano said in Wrong QML_IMPORT_PATH value in Hangman example:
My understanding is that QML_IMPORT_PATH is something related to QML files, but not to C++ headers.
I agree with you, looks also strange to me.
IFAIK,QML_IMPORT_PATHshould only contains directories and not files. By the way, if it contains files, they should be only QML files, I guess.
Maybe a bug?@KroMignon if I remove
QML_IMPORT_PATH = $$PWD/hangmangame.hfrom sample
.pronothing changes, it still compiles and runs.