Hi Suhas, adding to Volker: the easiest way to run all tests is to modify your configure line to something like
../path/to/configure -developer-build -make tests ...and run it in a clean build directory. Then run ninja in the same directory. When the build is done, simply type ctest. It will run all tests (consumes some time and creates verbose output). If "I have OFF" means, that QT_BUILD_TESTS_BY_DEFAULT=ON bounces back to OFF: That's because the variable just toggles, whether ninja builds all tests right away or just on demand. You need to add QT_BUILD_TESTS=ON to make sure tests are built at all. The simplified configure line mentioned above will take care of that. Have a look at the documentation about configure options, link added below. Cheers Axel https://doc.qt.io/qt-6/configure-options.html Qt Configure Options | Qt 6.7<https://doc.qt.io/qt-6/configure-options.html> Configuring Qt's compile options. doc.qt.io ________________________________ Von: Interest <interest-boun...@qt-project.org> im Auftrag von Suhas Krishanamurthy <suhaskrishanamurthy2...@outlook.com> Gesendet: Freitag, 20. September 2024 08:52 An: interest@qt-project.org <interest@qt-project.org> Betreff: [Interest] 'help' Hello All, I was trying to build the qt development source code from the code review, I was successful able to build it and also fixed a bug in that qt source code so what my sir told is to test this with the ctest . But when i was building the source code I have OFF it by giving this below command "../configure -prefix /home/sumanhp/QtBugFix_Team/Qtbugfix -developer-build -- -DQT_BUILD_TESTS_BY_DEFAULT=ON" can anyone help me with building this source code. Thank You Suhas
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest