not build with backend qt master 6428123

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
User avatar
andrvaut
Trained
Trained
Posts: 200
Joined: 02 Jan 2016, 12:44

not build with backend qt master 6428123

Post by andrvaut »

Not build with backend qt master 6428123.
But it is working with the SDL backend or version 3.1.x

./configure:

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99
checking for gcc... ccompiler
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g++... cxxcompiler
checking whether perl executable path has been provided... no
checking for perl... /usr/bin/perl
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for perl version... This is perl 5, version 18, subversion 2 (v5.18.2) built for i686-linux-gnu-thread-multi-64int
checking for gawk... (cached) gawk
checking for zip... zip
checking for unzip... unzip
checking for a2x... a2x
checking for wkhtmltopdf... wkhtmltopdf
checking for pdflatex... pdflatex
checking for hevea... no
checking for hacha... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
./configure: line 6277: AX_C___BUILTIN_EXPECT: command not found
checking for strlcpy... no
checking for strlcat... no
checking whether gcc -std=gnu99 accepts -fstack-protector... yes
checking whether g++ accepts -fstack-protector... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking sys/ucontext.h usability... yes
checking sys/ucontext.h presence... yes
checking for sys/ucontext.h... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config >= 0.9... found 0.26, ok
checking for backend... Qt
checking for QT5... yes
checking for moc-qt5... no
checking for moc... /usr/bin/moc
checking for uic-qt5... no
checking for uic... /usr/bin/uic
checking for rcc-qt5... no
checking for rcc... /usr/bin/rcc
checking for X... libraries , headers 
checking whether to build NSIS installer... no
checking whether to compile in debug mode... yes
checking whether the C compiler accepts the -Werror -Wno-switch flag... yes
checking whether the C compiler accepts the -Werror -Wno-enum-compare flag... yes
checking for PNG... yes
checking for THEORA... yes
checking for OPENAL... yes
checking for VORBIS... yes
checking for VORBISFILE... yes
checking for GLEW... yes
checking for LIBCRYPTO... yes
checking for nearbyint in -lm... yes
checking physfs.h usability... yes
checking physfs.h presence... yes
checking for physfs.h... yes
checking for PHYSFS_mount in -lphysfs... yes
checking X11/extensions/Xrandr.h usability... yes
checking X11/extensions/Xrandr.h presence... yes
checking for X11/extensions/Xrandr.h... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for the pthreads library -lpthreads... no
checking for the pthreads library -lpthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc -std=gnu99
checking for thread local storage (TLS) class... __thread
checking for FRIBIDI... yes
checking for FREETYPE... yes
checking for FTC_Manager_New in -lfreetype... yes
checking for FONTCONFIG... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating icons/Makefile
config.status: creating data/Makefile
config.status: creating data/music/Makefile
config.status: creating pkg/nsis/Makefile
config.status: creating win32/Makefile
config.status: creating tests/Makefile
config.status: creating 3rdparty/miniupnpc/Makefile
config.status: creating 3rdparty/quesoglc/Makefile
config.status: creating lib/framework/Makefile
config.status: creating lib/exceptionhandler/Makefile
config.status: creating lib/gamelib/Makefile
config.status: creating lib/ivis_opengl/Makefile
config.status: creating lib/netplay/Makefile
config.status: creating lib/qtgame/Makefile
config.status: creating lib/sdl/Makefile
config.status: creating lib/script/Makefile
config.status: creating lib/sequence/Makefile
config.status: creating lib/sound/Makefile
config.status: creating lib/widget/Makefile
config.status: creating tools/map/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure: 
configure: *** Running in debug mode! ***
configure: 
configure: WARNING: Distributor unknown!
configure: Use --with-distributor when compiling package for distribution
configure: 
configure: Backend used: qt
make:

Code: Select all

wzapp_qt.cpp:25:28: fatal error: QtWidgets/QImage: No such file or directory
 #include <QtWidgets/QImage>
                            ^
compilation terminated.
make[2]: *** [wzapp_qt.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from wzapp_qt_moc.cpp:9:0:
wzapp_qt.h:24:28: fatal error: QtWidgets/QImage: No such file or directory
 #include <QtWidgets/QImage>
                            ^
compilation terminated.
swapinterval.cpp:23:30: fatal error: QtWidgets/QX11Info: No such file or directory
 #include <QtWidgets/QX11Info>
                              ^
compilation terminated.
qtgame.cpp:35:20: fatal error: QX11Info: No such file or directory
 #include <QX11Info>
                    ^
compilation terminated.
In file included from main_qt.cpp:28:0:
wzapp_qt.h:24:28: fatal error: QtWidgets/QImage: No such file or directory
 #include <QtWidgets/QImage>
                            ^
compilation terminated.
make[2]: *** [wzapp_qt_moc.o] Error 1
make[2]: *** [swapinterval.o] Error 1
make[2]: *** [qtgame.o] Error 1
make[2]: *** [main_qt.o] Error 1
make[2]: Leaving directory `/home/vitya/warzone/wzgit/warzone2100/lib/qtgame'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vitya/warzone/wzgit/warzone2100'
make: *** [all] Error 2

User avatar
vexed
Inactive
Inactive
Posts: 2538
Joined: 27 Jul 2010, 02:07

Re: not build with backend qt master 6428123

Post by vexed »

Yeah, we only support SDL/SDL2 for now.
While it would be nice if Qt worked as well, as you can see, it is currently broken.
/facepalm ...Grinch stole Warzone🙈🙉🙊 contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Post Reply