Bill thanks for your reply, I have patched the file but at first couldnt
get past this below.

compiler:  gcc version 6.3.1 20170109 (GCC)

 build]$ make
[ 53%] Built target hamlib-install
[ 61%] Performing build step for 'wsjtx'
[  0%] Automatic moc for target udp_daemon
[  0%] Built target udp_daemon_automoc
[  0%] Automatic moc for target wsjtx_udp-static
[  0%] Built target wsjtx_udp-static_automoc
[  1%] Built target wsjtx_udp-static
[  1%] Built target udp_daemon
[  1%] Automatic moc for target wsjtx
[  1%] Built target wsjtx_automoc
[  1%] Automatic moc for target wsjt_qtmm
[  1%] Built target wsjt_qtmm_automoc
[  2%] Built target wsjt_qtmm
[  2%] Automatic moc for target wsjt_cxx
[  2%] Built target wsjt_cxx_automoc
[  6%] Built target wsjt_cxx
[  6%] Automatic moc for target wsjt_qt
[  6%] Built target wsjt_qt_automoc
[  6%] Generating Subversion revision information
-- Found Subversion: /usr/bin/svn (found version "1.9.5")
[  6%] Built target revisiontag
[ 13%] Built target wsjt_qt
[ 13%] Automatic moc for target wsjt_fort_omp
[ 13%] Built target wsjt_fort_omp_automoc
[ 43%] Built target wsjt_fort_omp
[ 44%] Built target manpages
[ 44%] Compressing Debian changelog
[ 44%] Built target debian
Scanning dependencies of target wsjtx
[ 44%] Building CXX object CMakeFiles/wsjtx.dir/mainwindow.cpp.o
/home/a/Documents/HK4ADJ/wsjtx-1.7.0/build/wsjtx-
prefix/src/wsjtx/mainwindow.cpp: In member function ‘void
MainWindow::readFromStdout()’:
/home/a/Documents/HK4ADJ/wsjtx-1.7.0/build/wsjtx-
prefix/src/wsjtx/mainwindow.cpp:2410:43: error: cannot convert ‘QChar’ to
‘char’ in assignment
         name[sizeof (name) - 1] = QChar {0};
                                           ^
make[5]: *** [CMakeFiles/wsjtx.dir/build.make:764:
CMakeFiles/wsjtx.dir/mainwindow.cpp.o]
Error 1
make[4]: *** [CMakeFiles/Makefile2:176: CMakeFiles/wsjtx.dir/all] Error 2
make[3]: *** [Makefile:150: all] Error 2
make[2]: *** [CMakeFiles/wsjtx-build.dir/build.make:61:
wsjtx-prefix/src/wsjtx-stamp/wsjtx-build] Error 2
make[1]: *** [CMakeFiles/Makefile2:389: CMakeFiles/wsjtx-build.dir/all]
Error 2
make: *** [Makefile:84: all] Error 2



So i had to keep that line as it was downloaded from source:

mainwindow.cpp:2410:43

void MainWindow::readFromStdout()
//readFromStdout

...snip..

        name[sizeof (name) - 1] = '\0';


Will see how it goes from here, thanks!

On Tue, Feb 28, 2017 at 1:49 PM, Bill Somerville <[email protected]>
wrote:

> On 28/02/2017 18:42, HK4ADJ wrote:
> > I'm trying to install from direct sources or via Arch linux (Manjaro)
> > yaourt
> > But all fail here (see below)
> >
> > The running QT version is qt5-base-5.8.0-5
> >
> > Any hints as to what could be a fix appreciated, Google brings up
> > suggestions I have tried with no luck hence I had to subscribe to your
> > devel list looking for help.
> >
> > Tx,
> > ADJ
> >
> >
> >
> > /HK4ADJ/wsjtx-1.7.0/build/wsjtx-prefix/src/wsjtx/mainwindow.cpp: In
> > member function ‘void MainWindow::statusUpdate() const’:
> > /home/a/Documents/HK4ADJ/wsjtx-1.7.0/build/wsjtx-prefix/src/
> wsjtx/mainwindow.cpp:5897:43:
> > error: ambiguous overload for ‘operator!=’ (operand types are ‘QChar’
> > and ‘char’)
> >                                    submode != '\0' ? QString {submode}
> > : QString {}, m_bFastMode);
> >                                    ~~~~~~~~^~~~~~~
>
> Hi ADJ,
>
> I'm not sure if the issue is teh Qt v5.8 or the compiler version you
> have, probably the compiler. If you do not mind patching the source you
> can probably fix it by changing:
>
> '\0'
>
> to
>
> QChar {0}
>
> there may be several instances. I will try and make repository sources
> compatible but I don't currently have a Qt built with gcc v6.x.
>
> 73
> Bill
> G4WJS.
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
> _______________________________________________
> wsjt-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wsjt-devel
>



-- 
HK4ADJ
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to