Bug 384632

Summary: mismatched types ‘const typename QtPrivate::FunctionPointer<Func>::Object*’ and ‘QPointer<QProgressDialog>’
Product: [Applications] kstars Reporter: Oliver Krückel <oliver.krueckel>
Component: generalAssignee: Jasem Mutlaq <mutlaqja>
Status: RESOLVED DOWNSTREAM    
Severity: normal    
Priority: NOR    
Version First Reported In: git   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Compile output

Description Oliver Krückel 2017-09-12 20:00:18 UTC
Created attachment 107822 [details]
Compile output

from git://anongit.kde.org/kstars
   d852d8df6..c8c977d86  master     -> origin/master

The build of kstars failed: kstars/CMakeFiles/KStarsLib.dir/build.make:1601: recipe for target 'kstars/CMakeFiles/KStarsLib.dir/ekos/profilewizard.cpp.o' failed

more please can be seen in the attachment.

used qt version: 5.9.1

> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
Target: x86_64-suse-linux
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
Thread model: posix
gcc version 4.8.5 (SUSE Linux)
Comment 1 Jasem Mutlaq 2017-09-19 07:07:32 UTC
Maybe it's due to the old GCC version you're using?
Comment 2 Oliver Krückel 2017-09-19 09:55:10 UTC
gcc 4.8.5 is the default gcc on opensuse Leap 42.3

I will check if I can use a newer version.
Comment 3 Oliver Krückel 2017-09-19 12:30:14 UTC
Compiling with gcc 7 works!

krueckel@venus:~> gcc-7 --version
gcc-7 (SUSE Linux) 7.1.1 20170607 [gcc-7-branch revision 248970]
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Thank's o.