Locked Error in building -rc4 for Pi (-rc3 worked fine...) #raspberryPi


Greg Cook
 

Hi,

Built -rc3 fine, but now get this error with -rc4 build...do I need to update Qt for ISODateWithMs method?

Thanks Greg g4cui

[ 94%] Building CXX object CMakeFiles/wsjtx.dir/widgets/mainwindow.cpp.o
/home/pi/Downloads/build/wsjtx-prefix/src/wsjtx/widgets/mainwindow.cpp: In member function ‘void MainWindow::rigFailure(const QString&)’:
/home/pi/Downloads/build/wsjtx-prefix/src/wsjtx/widgets/mainwindow.cpp:7252:90: error: ‘ISODateWithMs’ is not a member of ‘Qt’
                        + QDateTime::currentDateTimeUtc ().toString (Qt::ISODateWithMs));
                                                                     ^~
CMakeFiles/wsjtx.dir/build.make:853: recipe for target 'CMakeFiles/wsjtx.dir/widgets/mainwindow.cpp.o' failed
m


Bill Somerville
 

On 27/01/2021 20:18, Greg Cook via groups.io wrote:
Hi,

Built -rc3 fine, but now get this error with -rc4 build...do I need to update Qt for ISODateWithMs method?

Thanks Greg g4cui

[ 94%] Building CXX object CMakeFiles/wsjtx.dir/widgets/mainwindow.cpp.o
/home/pi/Downloads/build/wsjtx-prefix/src/wsjtx/widgets/mainwindow.cpp: In member function ‘void MainWindow::rigFailure(const QString&)’:
/home/pi/Downloads/build/wsjtx-prefix/src/wsjtx/widgets/mainwindow.cpp:7252:90: error: ‘ISODateWithMs’ is not a member of ‘Qt’
                        + QDateTime::currentDateTimeUtc ().toString (Qt::ISODateWithMs));
       ^~
CMakeFiles/wsjtx.dir/build.make:853: recipe for target 'CMakeFiles/wsjtx.dir/widgets/mainwindow.cpp.o' failed
Hi Greg,

it builds OK on Raspberry Pi OS (Buster), and should be OK with any Qt version >= 5.8.

You could patch the sources replacing Qt:ISODateWithMs with "yyyy-MM-ddTHH:mm:ss.zzzZ".

73
Bill
G4WJS.


Greg Cook
 

Hi Bill,

Thanks for the info. Have tried a general update/upgrade first...will let you know. Actually patching the sources might be a bit of fun though...


Greg Cook
 

Hi again Bill,

Just checking with sudo apt-get install for Qt version, but there are many libqt5 files for instance... where do I go for the version number so I can specifically upgrade if necessary...

Thanks Greg g4cui


Greg Cook
 

Sorry if that's not clear. I mean 'sudo apt-get install Qt'  does not recognise 'Qt', so what should 'Qt' be changed to. As I say, there are quite a few libs eg lib5qt... etc
Greg
 


Bill Somerville
 

On 27/01/2021 21:07, Greg Cook via groups.io wrote:
Sorry if that's not clear. I mean 'sudo apt-get install Qt'  does not recognise 'Qt', so what should 'Qt' be changed to. As I say, there are quite a few libs eg lib5qt... etc
Greg

Hi Greg,

I'm not sure what you are trying to achieve, if you think you do not have the latest Qt version for your distribution version then do this:

sudo apt update
sudo apt dist-upgrade

but I doubt that will help, I suspect you need to upgrade your distribution version.

73
Bill
G4WJS.


Greg Cook
 

...Just run 'sudo apt-get install qtmultimedia5-dev' and it gives me latest version no. as 5.7... hope this isn't going to be similar problem we had with cmake and boost ??
Thanks Greg


Bill Somerville
 

On 27/01/2021 21:10, Bill Somerville wrote:
On 27/01/2021 21:07, Greg Cook via groups.io wrote:
Sorry if that's not clear. I mean 'sudo apt-get install Qt'  does not recognise 'Qt', so what should 'Qt' be changed to. As I say, there are quite a few libs eg lib5qt... etc
Greg

Hi Greg,

I'm not sure what you are trying to achieve, if you think you do not have the latest Qt version for your distribution version then do this:

sudo apt update
sudo apt dist-upgrade

but I doubt that will help, I suspect you need to upgrade your distribution version.

73
Bill
G4WJS.

Hi Greg,

here is a suitable patch file for the WSJT-X sources tarball. Replace the empty wsjtx.patch file you have after unzipping the tarball with it:

https://www.dropbox.com/s/kb38dasfqr8n6cc/wsjtx.patch?dl=1

73
Bill
G4WJS.


Greg Cook
 

Hi Bill,

Currently running Stretch 9.8 o/s. I will try the cutting and pasting as well on the sources....

Thanks

Greg


Greg Cook
 

Hi Bill
I already performed 
sudo apt-get update
sudo apt-get upgrade
but will try 
sudo apt-get dist-upgrade as well..just to see...


Greg Cook
 

Thanks...


Greg Cook
 

Hi Bill
I guess from your patch file its ~/widgets/mainwindow.cpp that requires the fix. I'll change it and see what happens.

Greg


Bill Somerville
 

On 27/01/2021 23:11, Greg Cook via groups.io wrote:
Hi Bill
I guess from your patch file its ~/widgets/mainwindow.cpp that requires the fix. I'll change it and see what happens.

Greg
Greg,

why not use our sources tarball, all you need do is unpack it and replace the empty wsjtx.patch file with the one I provided before configuration and build. No editing needed.

73
Bill
G4WJS.


Greg Cook
 

Builds/installs fine now Bill and first tests seem ok on FT8. A bit surprised regarding the short lifespans of these candidates after a bit of work getting them built each time...any idea when a more lasting candidate will come?
Thanks
Greg g4cui


Bill Somerville
 

On 28/01/2021 17:39, Greg Cook via groups.io wrote:
Builds/installs fine now Bill and first tests seem ok on FT8. A bit surprised regarding the short lifespans of these candidates after a bit of work getting them built each time...any idea when a more lasting candidate will come?
Thanks
Greg g4cui
Hi Greg,

thanks for the update, glad you are up and running,

You should not be surprised that intervals between release candidates shrink as issues get resolved. RC4 would have been the GA release but for some ongoing testing of Hamlib changes and some other issues with application crashes or failures to start correctly.

73
Bill
G4WJS.