0

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?

asked Oct 10, 2017 at 17:10

1 Answer 1

1

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.

answered Oct 10, 2017 at 18:09
Sign up to request clarification or add additional context in comments.

2 Comments

Good day! Thank you! The problem is "No valid kits found". Default kit doesn't have the "Qt version" and requires qmake file. Doesn't Qt Creator has this file?
Qt and Qt Creator are two separate things. If you got Qt Creator from the Qt installer, it will typically have a Qt version set up (unless you de-selected all Qt versions in the installer). If you have a stand-alone Qt Creator, you might need to point it to a Qt version on your system, which you might need to install first. For instance, on a Linux system, this would be a package called something like "qt5base-dev". If you are new to Qt Creator, I suggest reading doc.qt.io/qtcreator/creator-configuring.html for more insight into how Kits work and how they are related to Qt versions.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.