dlt-viewer icon indicating copy to clipboard operation
dlt-viewer copied to clipboard

Remove qmake project files.

Open alexmucde opened this issue 1 year ago • 12 comments

alexmucde avatar Dec 11 '24 15:12 alexmucde

@hannesa2 Can i remove this? Is qmake build necessary for MacOS?

C:\workspace\github\covesa\dlt-viewer\scripts\darwin\build_cmake.sh (2 hits) Line 17: qmake ../BuildDltViewer.pro Line 22: qmake ../BuildDltViewer.pro

alexmucde avatar Dec 11 '24 15:12 alexmucde

@hannesa2 Please review if this PR is ok for MacOs

alexmucde avatar Dec 11 '24 16:12 alexmucde

is there anything missing for this PR to be merged? It is very nice if we would not need to maintain the qmake buildsystem anymore

vifactor avatar Jun 22 '25 13:06 vifactor

@vifactor Still needed for the Debina build scripts

https://github.com/COVESA/dlt-viewer/blob/master/build_viewer_debs_noble.sh

alexmucde avatar Jun 24 '25 14:06 alexmucde

@alexmucde I have hard time to find how this build script is used. Could you please point me to the place where qmake is invoked?

vifactor avatar Jun 27 '25 06:06 vifactor

@vifactor Still needed for the Debina build scripts

https://github.com/COVESA/dlt-viewer/blob/master/build_viewer_debs_noble.sh

I'm somehow confused. The CI builds Ubuntu 24.04 and this script is not involved at all. For me this is a sign, that it's useless.

Same to https://github.com/COVESA/dlt-viewer/blob/master/build_viewer_debs.sh

To be honest, I would remove these files, to avoid to have to much non-supported (CI) build ways. https://github.com/COVESA/dlt-viewer/blob/master/build_viewer_debs_noble.sh https://github.com/COVESA/dlt-viewer/blob/master/build_viewer_debs.sh

hannesa2 avatar Jun 27 '25 08:06 hannesa2

It used by me for releasing the DLT Viewer, not by the CI buil.d system. I had no time yet to change them to cmake, so i want to keep them in.

alexmucde avatar Jun 27 '25 09:06 alexmucde

The qmake call is there: https://github.com/COVESA/dlt-viewer/blob/master/noble/debian/rules

alexmucde avatar Jun 27 '25 09:06 alexmucde

It used by me for releasing the DLT Viewer, not by the CI buil.d system.

Maybe in pre-continue-integration time, a manual release was required. But this has changed in 2023 ! In my point of view a manual release is no more required, and more then this: you should not release it manual again. With this background, the files are obsolete

hannesa2 avatar Jun 27 '25 09:06 hannesa2

@hannesa2 , Alex refers to a special so far manual release step dedicated for creation of the deb package for ubuntu. This is not automated in CI

In the mean time, I wonder if that step can simply be replaced by cmake call. Unfortunately, only @alexmucde can check and confirm

vifactor avatar Jun 27 '25 10:06 vifactor

I tried already some time ago to switch to cmake for building Debian files, but this is not so easy. We need an additional target for cmake Linux, as it currently only works for Windows and Mac. I need the same target folder structure for cmake as for qmake today.

@vifactor If you have some time to work on it would be nice

alexmucde avatar Jun 27 '25 12:06 alexmucde

@alexmucde I can look into it if you could be more precise on what to do. Is there a particular command that you run to create a deb on your local machine that I can repeat on mine?

vifactor avatar Jun 27 '25 12:06 vifactor

This script is executed: https://github.com/COVESA/dlt-viewer/blob/master/build_viewer_debs_noble.sh This script builds the Debian for Ubuntu 24/04. This package configuration is used https://github.com/COVESA/dlt-viewer/tree/master/noble/debian. There you can find the qmake call which must be replaced by cmake https://github.com/COVESA/dlt-viewer/blob/master/noble/debian/rules. For cmake a new target must be defined to have another folder structure, similar to the structure for qmake.

alexmucde avatar Jul 02 '25 12:07 alexmucde

Ubuntu Debian Build still fails, because still using qmake. Must switch to cmake first..

alexmucde avatar Jul 23 '25 13:07 alexmucde

Ubuntu Debian Build still fails, because still using qmake. Must switch to cmake first..

I've started working on it, there were a couple of tricky issues, so it will take some more time. Hopefully not too much

vifactor avatar Jul 23 '25 14:07 vifactor

Ubuntu Debian Build still fails, because still using qmake. Must switch to cmake first..

I've started working on it, there were a couple of tricky issues, so it will take some more time. Hopefully not too much

Thanks @vifactor for helping here. Possibly we need different cmake target configurations.

alexmucde avatar Jul 24 '25 06:07 alexmucde

@vifactor I am using mainly QtCreator under Windows to develope and debug DLT Viewer. I tried yesterday with cmake only, but i had a lot of problems. I switched back to qmake. Which IDE are you using, expecially also for Debugging? Which OS? I would like to get rid of qmake, but with Qt Creator it does not work currently out of the box. QTCreator has some advantages, like the integrated UI Designer.

alexmucde avatar Jul 29 '25 05:07 alexmucde

@alexmucde I also use qt creator mainly on ubuntu but also tried on win. Worked fine for me.

vifactor avatar Jul 29 '25 07:07 vifactor