Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

No rule to make target Error



  • Hello guys, i selected vulkan cubes example and when i try to compile it, compiler gave an error:

    No rule to make target '../shared/qt_logo.buf', needed by 'qrc_hellovulkancubes.cpp'. Stop.

    Anyone know how to solve it?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What version of Qt are you using ?
    How did you install it ?
    On what OS ?



  • @SGaist
    What version of Qt are you using ? 5.14.2
    How did you install it ? pamac install qt qtcreator
    On what OS ? Manjaro KDE



  • Hi, looks like you didn't build the project from the example folder, so the shared folder is missing.
    Maybe you copy the project folder to somewhere else, or you download it from network?
    Anyway the shared folder from examples/vulkan should be put with hellovulkancubes folder.



  • @Bonnie Yes, there was message: "You will not be able to alter or compile in current location" and i clicked copy button and project was copied to my default project location. I copied shared folder from /usr/share/doc/qt/examples/vulkan/ and all works fine. Thank you.


Log in to reply