Qmake compile error with Ubuntu 22.04.1 LTS

Hi,
I have just got back to experimenting with wfview and have the following compile error:

Starting build process.
Info: creating stash file /home/ross/Downloads/wfview–20230201–21-15-47/build/.qmake.stash
Project ERROR: Unknown module(s) in QT: gamepad
Error in qmake step.

The dependencies were updated first.

Thanks for the great work done by the developers

Ross

Hi Ross.

Did you download the latest build script? The dependencies have changed…

Download/run https://gitlab.com/eliggett/scripts/-/blob/master/fullbuild-wfview.sh and it should install libqt5gamepad5-dev

``

73 Phil M0VSE

Thanks Phil, that would explain it!
73

Phil:

This fixed the gamepad problem, but I still get a complaint about
“class QSpinBox’ has no member named ‘setStepType’” preventing
compilation. Any ideas?

Dennis
NR6J

Quoting Phil Taylor M0VSE via wfview noreply@wfview.org:

It looks like Qt versions prior to 5.12 do not support this particular attribute.

You can probably comment out the line with that code and then type make.

I’ll see if I can find exactly where that is and perhaps we can put a fix in.

–E
de W6EL

Well, it looks like it’s a property set in a UI file.

I’m having issues with my older computer, but I think if you open the cwsender.ui file and remove these lines (approximately line272, 273, and 274):

      <property name="stepType">
         <enum>QAbstractSpinBox::DefaultStepType</enum>
        </property>

Then I think it will work. Make the edits in the wfview folder, not the “build” folder. Create a new build directory, run
qmake ../wfview/wfview.pro
and then run
make

Let me know if that helps. I’ll try and replicate it here.

–E
de W6EL

we need to update the INSTALL.md here too for debian based systems here; are there other libs (libhid f.e.) we need to add, @eliggett @phil @jnijkamp – I don’t build this for non-rpm systems.

Elliott:

Thank you! That worked. Unfortunately, it means that the script no longer works, since it downloads a new version every time. So, I’ll use the script, and then make the edit and manually compile. Thanks again!

Dennis

Hi Dennis,

Glad it worked. We will remove that line from the repo and make it set that property only if QT >= 5.12.

—E
de W6EL

This is removed now in “master”

I have compiled successfully on a Raspberry Pi as my server, with the latest daily build as my client. All is well unitil I start the client. As soon as the client starts, the server exits. Since I cannot the send the log from the server, I have copied it below (Sorry).
2023-02-03 15:13:53.867 INF system: “wfview version: 1.59 (Git:c70bbb0 on Feb 3 2023 at 14:50:53 by root@rigpi3.local). Operating System: Raspbian GNU/Linux 10 (buster) (arm). Build Qt Version 5.11.3. Current Qt Version: 5.11.3”
2023-02-03 15:13:54.160 INF system: Loading settings from “/home/pi/.config/wfview/wfview.conf”
2023-02-03 15:13:54.160 WRN system: Settings previously saved under version “unset” , you should review your settings and press SaveSettings.
2023-02-03 15:13:54.184 INF gui: Got Audio Output from Settings: “default”
2023-02-03 15:13:54.185 INF gui: Got Audio Input from Settings: “default”
2023-02-03 15:13:54.192 INF audio: RtAudio Version “5.0.0”
2023-02-03 15:13:54.193 INF audio: Compiled APIs:
2023-02-03 15:13:54.193 INF audio: “Jack Client”
2023-02-03 15:13:54.193 INF audio: “Linux ALSA”
2023-02-03 15:13:54.193 INF audio: “Linux PulseAudio”
2023-02-03 15:13:54.193 INF audio: Current API: “Linux ALSA”
2023-02-03 15:13:54.236 INF audio: Found: 2 audio device(s) (*=default)
2023-02-03 15:13:54.314 INF audio: ( 1 ) Input Device : “default”
2023-02-03 15:13:54.316 INF audio: ( 1 ) Output Device : “default”
2023-02-03 15:13:54.317 INF default: Looking for inputs
2023-02-03 15:13:54.325 INF audio: "Client Audio input device default found! "
2023-02-03 15:13:54.326 INF default: Looking for outputs
2023-02-03 15:13:54.333 INF audio: "Client Audio output device default found! "
2023-02-03 15:13:54.346 INF audio: "Server Audio input device default found! "
2023-02-03 15:13:54.346 INF audio: "Server Audio output device default found! "
2023-02-03 15:13:55.575 INF system: Cannot prepare WF view without rigCaps. Waiting on this.
2023-02-03 15:13:55.630 INF rig: creating instance of rigCommander()
2023-02-03 15:13:55.639 INF cluster: starting dxClusterClient()
2023-02-03 15:13:55.640 INF serial: Opened port: “/dev/ttyUSB0”
2023-02-03 15:13:55.641 INF udp.server: Starting udp server
2023-02-03 15:13:55.642 INF audio: Audio Input device “default”
2023-02-03 15:13:55.642 INF audio: Audio Output device “default”
2023-02-03 15:13:55.649 INF udp.server: My IP Address: “0.0.0.0”
2023-02-03 15:13:55.650 INF udp.server: Server Binding Control to: 50001
2023-02-03 15:13:55.651 INF udp.server: Server Binding CIV to: 50002
2023-02-03 15:13:55.652 INF udp.server: Server Binding Audio to: 50003
2023-02-03 15:13:55.760 INF udp.server: “::ffff:192.168.5.70” : New Control connection created
2023-02-03 15:13:55.883 INF system: Received CommReady!!
2023-02-03 15:13:55.884 INF system: Delay command interval timing: 75 ms
2023-02-03 15:13:55.886 INF default: Setting rig state for wfmain
2023-02-03 15:13:55.907 INF rig: Using incomingCIVAddr: (int): 136 hex: “0x88”
2023-02-03 15:13:55.957 INF serial: Received rigCapabilities for “IC-7100”
2023-02-03 15:13:55.958 INF rig: Have rig ID: decimal: 136
2023-02-03 15:13:56.174 INF system: Delay command interval timing: 75 ms
2023-02-03 15:14:10.025 INF udp.server: “::ffff:192.168.5.70” : Received token request
2023-02-03 15:14:10.025 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Sending Token response for type: 5
2023-02-03 15:15:10.043 INF udp.server: “::ffff:192.168.5.70” : Received token request
2023-02-03 15:15:10.044 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Sending Token response for type: 5
2023-02-03 15:15:40.724 INF udp.server: “::ffff:192.168.5.70” : New Control connection created
2023-02-03 15:15:40.725 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Received ‘Are you there’
2023-02-03 15:15:40.732 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Received ‘Are you ready’
2023-02-03 15:15:40.735 INF udp.server: “::ffff:192.168.5.70” : Received ‘login’
2023-02-03 15:15:40.736 INF udp.server: “::ffff:192.168.5.70” : User “NR6J” login OK
2023-02-03 15:15:40.736 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Sending Login response: 1
2023-02-03 15:15:40.740 INF udp.server: “::ffff:192.168.5.70” : Received create token request
2023-02-03 15:15:40.749 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Sending Capabilities : 2 for “IC-7100”
2023-02-03 15:15:40.749 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Client will have TX audio
2023-02-03 15:15:40.751 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Sending ConnectionInfo : 3
2023-02-03 15:15:40.754 INF udp.server: “::ffff:192.168.5.70” ( “CIV” ): New connection created
2023-02-03 15:15:40.756 INF udp.server: “::ffff:192.168.5.70” : Received request for radio connection
2023-02-03 15:15:40.757 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Sending Status
2023-02-03 15:15:40.758 INF udp.server: “::ffff:192.168.5.70” ( “Control” ): Sending ConnectionInfo : 5
2023-02-03 15:15:40.759 INF udp.server: “::ffff:192.168.5.70” : rxCodec: 64 txCodec: 64 rxSampleRate 16000 txSampleRate 16000 txBufferLen 150
2023-02-03 15:15:40.764 INF audio: Output RTAudio handler starting: “default”
2023-02-03 15:15:40.767 INF udp.server: “::ffff:192.168.5.70” ( “Audio” ): New connection created
2023-02-03 15:15:40.768 INF udp.server: “::ffff:192.168.5.70” ( “Audio” ): Received ‘Are you there’
2023-02-03 15:15:40.770 INF udp.server: “::ffff:192.168.5.70” ( “Audio” ): Received ‘Are you ready’
2023-02-03 15:15:40.771 INF audio: Input RTAudio handler starting: “default”
2023-02-03 15:15:40.969 INF audio: Input “default” ( 1 ) successfully probed
2023-02-03 15:15:40.969 INF audio: Preferred sample rate: 48000
2023-02-03 15:15:40.970 INF audio: Channels: 32
2023-02-03 15:15:40.997 INF audio: Output “default” ( 1 ) successfully probed
2023-02-03 15:15:40.998 INF audio: Preferred sample rate: 48000
2023-02-03 15:15:41.005 INF audio: Channels: 32

You haven’t selected the server audio devices and I wouldn’t recommend using rtaudio on Linux so try setting the audio system to QT Audio and select the USB audio devices within the radio server tab and try again.

Phil

~WRD0001.jpg

Sorry! It didn’t occur to me to check those settings again after I compiled and installed from scratch! After fixing them, all is well!

Thanks Again,
Dennis
NR6J

Hello

I did the first installation 1.52 like this:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install xrdp
sudo mkdir Downloads
cd downloads
https://gitlab.com/eliggett/scripts/-/raw/master/fullbuild-wfview.sh
sudo apt-get install qt5-default
sudo chmod +x fullbuild-wfview.sh
sudo ./fullbuild-wfview.sh

now i want to update to 1.60

can i install like this?

cd downloads

https ://gitlab.com/eliggett/scripts/-/blob/master/fullbuildwfview.sh

sudo apt-get install qt5-default
sudo chmod +x fullbuild-wfview.sh
sudo ./fullbuild-wfview.sh

error qt comes up

73 Ralph

Hi Ralph

The ‘actual’ error message would be useful! Also can you start another topic please as your issue is not related to this specific issue?

You shouldn’t run the entire script under sudo, at the beginning of the script it says:

cd ~/Downloads
chmod +x fullbuild-wfview.sh
./fullbuild-wfview.sh

73 Phil M0VSE