Congratulations to our 2022 Qt Champions!

Qt5DeclarativeConfig.cmake missing muanual build

  • Hi, I have successfully built Qt with the purpose to later build kde, but kde need the Qt5DeclarativeConfig.cmake to build some modules and is missing in my Qt built, I already built it a couple of times with different configure options but i can not get to generate the file, I search for the file in a binary Qt that I installed and is present but I can not use this one because I want the Qt developer built.

    I tried with this two configure commands:

    Qt official documentation.
    ./configure -developer-build -opensource -nomake examples -nomake tests

    KDE documentation.
    ./configure -opensource -confirm-license -nomake tests -nomake examples -dbus -no-separate-debug-info -xcb -qpa xcb -no-gtkstyle -developer-build

    I also remove the -nomake tests -nomake examples options but nothing works.

    does anyone know what I am missing?

    the file is suposed to be in [qt install path]/qtbase/lib/cmake/Qt5Declarative/Qt5DeclarativeConfig.cmake

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    What OS/Qt combo are you using/building ?

  • I am using Linux (Kubuntu 14.04 LTS), sorry, I forgot to post the OS.

  • Lifetime Qt Champion

    And Qt version ?

  • Qt 5.4 the last one available.

  • Lifetime Qt Champion

    Maybe a silly question but did you check that the module was built ?

  • Yes, I did. The QtDeclarative modules was built but the its folder was not present on qtbase/lib/cmake/ there should be a folder there named Qt5Declarative containing a file named Qt5DeclarativeConfig.cmake, also I did not see any errors afer the build process finish.

Log in to reply