Error running tool_chain_qt6 build

Whenever I try running the qt6 tool chain, I get this error, it does not happen with qt5 which builds successfully.

me2@mistcutter:~/genode$ ./tool/tool_chain_qt6 build
CMake Error: The source “/home/me2/genode/contrib/qt6-host-802b7ca16c8e96911c1a190e99f949e07abbb047/src/lib/qt6/CMakeLists.txt” does not match the source “/home/me2/genode/contrib/qt6-host-1a0072de9fae10738f0d32d367ffff063e6cdc7b/src/lib/qt6/CMakeLists.txt” used to generate cache. Re-run cmake with a different source directory.
make: *** [tool/tool_chain_qt6:54: build] Error 1

Is there something silly I’m missing?

It seems like cmake has a problem with an existing build directory (build/tool/qt6/23.05) from a previous build which used a different source directory. Does it work when you delete that build directory and try again?

1 Like