qtqbs

dependency qt.core not found for product


I get a lot of same errors when try to compile my project using qbs.

Like this:

Dependency "Qt.core" not found for product "dist".
Please create a Qt profile using the qbs-setup-qt tool if you haven't already done so.
Product 'dist' had errors and was disabled.

I use QtCreator. Should I "create a new Qt profile using the qbs-setup-qt tool"? Please, can you explain what does it mean?


Solution

  • No, Qt Creator sets up the profiles automatically. The most common cause for this message is that the Kit you are using does not have a (valid) Qt version set. Please verify this first. If everything looks okay in that regard, please file an issue at bugreports.qt.io, and we will take it from there.