Hi António: Based on the testing information you supplied I have now pushed your commit (with revised commit message but no other changes). See <https://sourceforge.net/p/plplot/plplot/ci/6a12ffe24060803e1d66ae457fa7663dc4ded5bf/>.
On 2021-08-04 11:33+0100 António Rodrigues Tomé wrote:
And for qt6 I kind hijacked the qt5 optins and just replaced the conditions for qt5 with the ones for qt6 cmake/modules/qt.cmake and some of the CMakeLists.txt CMakeLists.txt bindings/qt_gui/CMakeLists.txt examples/c++/CMakeLists.txt src/CMakeLists.txt
[...O]ne must decide if to keep two distinct options choose qt5 or qt5 or let the system decide what to use. [...C]hanges were very slim. most of them were replacing QT5:: by Qt6:: but for the qt.cmake that I also attach
I will likely implement a default of looking first for Qt6 then Qt5 (if the build system cannot find Qt6) but with an option for knowledgeable users to force one or the other. It will probably be several months until I can get to this (and it will also be after I completely strip out Qt4), but based on the above extremely useful information from you I think I now know what needs to be done to fully support both Qt5 and Qt6 with our build system. Cheers, Alan __________________________ Alan W. Irwin Research affiliation with the Department of Physics and Astronomy, University of Victoria, Victoria, BC, Canada. Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); the Time Ephemerides project (timeephem.sf.net); PLplot scientific plotting software package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel