ON4QZ / QSSTV

Receive and transmit images over radio using analog SSTV or digital DRM
GNU General Public License v3.0
83 stars 10 forks source link

How To Use lwt-dev with QT6? Please help #25

Open vk6mo opened 1 year ago

vk6mo commented 1 year ago

Hi Guys Installed Qt6.5.0 with latest QTCreator(v10.0.1) Attempting build of sstv-development branch. Build fails as it can't see qwt_plot.h (ie lwt-dev). libqwt-qt5-dev is installed correctly but headers are not where Qt6 is expecting to find Questions

  1. Is libqwt-qt5-dev still the appropriate dev library to use with Qt6?
  2. If not, which library should I be using - I can't find any libqwt-dev for Qt6 on any of the qt discussions If it is, should I just add appropriate includes directories? Or better solution? You guys that are build Qt6 already, how have you set up??

I think this is my last problem to building qsstv under QtCreator so hopefully I can get this one sorted!! :)

dl8dtl commented 1 year ago

The "development" branch does not hold what its name suggests. The Qt6 fixes have been merged to the main branch, so please use that one.

vk6mo commented 1 year ago

If I try QSSTV-main, the project does not load correctly. See below Screenshot at 2023-05-14 14-26-28 (sorry if I'm doing something simple wrong)...

vk6mo commented 1 year ago

PS: I have grabbed the latest code from QSSTV-development. It does the same thing as above! Going back to previous code loads (into Creator) correctly.

dl8dtl commented 1 year ago

What is the exclamation mark going to tell? Is there any hint?

I never tried to load it into Qt Creator. Might give that a try.

vk6mo commented 1 year ago

Sorry, my bad!! :( That means I needed to enable a kit!! Hovering over the exclamation mark showed the error. Thanks Jorg. Your comment made me think to hover over it, and that provided the answer!

vk6mo commented 1 year ago

So now when I attempt build I get

If configName is omitted 'Doxyfile' will be used as a default. If - is used for configFile doxygen will write / read the configuration to /from standard output / input.

-v print version string make: [Makefile:1837: dox] Error 1 make: Waiting for unfinished jobs.... 17:26:33: The process "/usr/bin/make" exited with code 2. Error while building/deploying project qsstv (kit: Desktop Qt 6.5.0 GCC 64bit) When executing step "Make" 17:26:33: Elapsed time: 00:00.

Doxygen is installed. Does the kit define doxygen location/version?? Maybe I have that wrong.

vk6mo commented 1 year ago

I don't know if this helps you solve the problem, but the makefile expects cd /home/dave/Desktop/QSSTV-main/src/documentation/manual BUT the true path is cd /home/dave/Desktop/QSSTV-main/documentation/manual (This is for Creator build)

vk6mo commented 1 year ago

Jorg FYI - I have command line builds from both main and development branch on my shack PC, so will test with them over the coming days and provide any feedback I can. (As soon as I can get Creator going I will do builds from there, which will help me test).