-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling Issue, Linux Mint 21.1, Qt 6.0.2 #20
Comments
First mistake! Forgot to attach build. Now attached |
I have started porting QSSTV to Qt6. Parts of the attempt is already in mainline, there is one more pull request open about it.
but I guess some of them are just depencies of a "super package". |
Alas, the file has 0 bytes. :/ |
Thanks for info. I will see how I get on with Qt libraries as per your list. It would also be good at some stage to at least start a discussion about how we might use this code as a base for a windows based SSTV program and how best to set up on github. Here in this issue might not be best place. No rush, early days, but just a bit of a heads up. Would like to follow your advice in that regard. I haven't even thought of how best to do it in Windows, although Visual Studio seems the obvious choice. Something that keeps it as simple as possible. |
For whatever reason, it seems your compilation has some (or all?) files twice, with two different spellings. For example:
Since they also appear twice on the linker commandline, you get those double symbol definition errors. Also:
It might make sense to install graphviz so you can generate the docs. |
Regarding Windows builds: it requires some volunteer. Qt is certainly already a good starting point, but without some motivated Windows developer, I don't think it will happen. |
Dear OM's .. the source code of the QSSTV version on this Github is made for QT version 5.x I did the installation on Linux Mint, latest version. apt-get install doxygen libqwt-qt5-dev libqwt-headers libqwt-qt5-6 libqwt-qt5-dev libqt5svg5-dev linux-libc-dev To use the source code inside QT 6 we have to rewrite / update the code. BUT !! I have plans to rebuild the software together with you or others .. to bring in new modulation items that we want to use at ISS communication ( up and downlinks ) .. you can think about QQSPK for example. Next weeks I will update more .. and make a new fork on my own github ( pa2eon ) page. vy ´73, Eric |
Much of my earlier port to Qt6 is already in the tree. |
Thanks for comments all round. I can try build on both Qt5 and Qt6 (machines) and let you know feedback... |
Yes, with different spelling, but obviously same contents. That's why the double definition linker errors. |
@vk6mo yeaah reading that output, you're definitely not compiling the latest main src. Make sure everything is pulled to the latest and then try again. You will get most of QT6 fixed (there's still some in PR) and some other fixes. You might also wish to work from development, it includes everything from main and some other new QT6 fixes. |
Thanks for comments, all. |
Can you give that a try without the IDE?
|
And, for Qt6 on Linux, please use https://github.com/dl8dtl/QSSTV/tree/qt6_linux Without that, it will fail to compile the V4L stuff. |
All .. I used the online installer ( version 10 of QT create) from : https://www.qt.io/download-qt-installer-oss |
|
Or somehow, make Qt6 your default version. See |
No difference to building from command line with above. QtCreator has Qt6 set as default. You would think it would install the necessary qt6 libraries but it appears not (from apt list *qt6*) Will update this thread when I have something significant to add. PS: Initially Qt Creator was added using Linux Mint Software Manager. |
What does For me (Ubuntu 22.04):
|
Please install the qmake6 package. |
$ qmake -qt=qt6 --version |
This might be helpful - output from apt list libqt6* |
Dear OM's, I have found a good way to work:
When now testing the qmake --version .. you seen that it is going to qt 6 When the next commands are given to compile qsstv: And now the full source is compiled .. ! I will test this also with the QT6 GUI editor .. I think this will work also. Note: |
IMPORTANT : |
Interesting, since Creator by default uses a much more complicated build directory naming. |
Thanks for confirming the changes from PR #17 do work for you. I'll give them a final try, and see whether the camera is actually working with these changes (after all, they affect the Video4Linux part), and if so, I'll merge the PR. |
Thanks all. Sorry haven't responded, but have got tied up with some priorities last few days. Next few days will be busy too. Will post once Ive tested all the above but wiith pa2eon's comments as well, hopefully that will resolve. Am going to test WITHOUT QtCreator first, then add QtCreator and test build inside that environment. |
For devolopers who want to start with a clean version of QSSTV see my own github : https://github.com/pa2eon/QT6SSTV |
What version of libqwt is best to install for Qt6.5.0 and QtCreator 10.0.1? Best to get from where? |
Having probs compiling the QSSTV code taken from main branch today 2May2023.
Using QtCreator (6.0.2) installed on LinuxMint Mate v21.1 with all updates as of today.
Library qt5-default is not available (E: Package 'qt5-default' has no installation candidate) but other libraries installed OK as per dependency list.
Lots of compile warnings (mainly old/deprecatated call messages) I cant seem to identify the cause of one error which appears that CDRMTransmitter methods have "multiple defines", then drmTransmitter methods have undefined references.
Have attached the output from the build.
Anything else you want, please ask.
Have lots of C experience, but C++ is more limited.
Initially was looking at seeing if I could get Easypal going again, but I understand the source code is entirely lost.
Am hoping might be able to get on top of qsstv, maybe make some contributions here, then maybe even look at porting this code to a windows based app (big job I know).
Thx
Dave vk6mo
The text was updated successfully, but these errors were encountered: