Den mån 14 jan. 2019 kl 18:53 skrev <rol...@logikalsolutions.com>:
>
>
> Quoting Elvis Stansvik <elvst...@gmail.com>:
>
> > Den mån 14 jan. 2019 17:38Jason H <jh...@gmx.com> skrev:
> >
> >> Applying Occam's razor,
> >> I think your make is failing, make install is making the default target
> >> (resuming your broken build, and failing again) and not actually getting to
> >> install?
> >>
> >> Can you confirm your make of the default target ended successfully?
> >>
> >
> > Note also that using make -jN, the error may in some cases not be
> > immediately obvious from the last bit of output, but is visible some pages
> > up. Search backwards for errors or do a serial build to be sure.
> >
> > Elvis
> >
>
> Was using 5.12.0 with following configure command
>
> ./configure -prefix /home/developer/Qt-5.12.0 -no-xcb -opensource
> -confirm-license  -system-freetype -system-pcre -no-harfbuzz -no-xcb
> -nomake examples -no-sql-mysql  -shared -no-sql-psql -no-sqlite
> -enable-linuxfb -no-directfb -widgets --enable-linuxfb -no-directfb
> -no-xcb -no-opengl  -no-eglfs -no-openssl -fontconfig -no-gif
> -no-libjpeg -system-libpng -no-dbus -no-tslib -no-glib -icu -libinput
> -no-gtk
>
> Wow, it was over 500 lines back. Still doesn't explain how that source
> file could have this code
>
> void QWaylandIviSurface::sendConfigure(const QSize &size)
> {
>      if (!size.isValid()) {
>          qWarning() << "Can't configure ivi_surface with an invalid
> size" << size;
>          return;
>      }
>      Q_D(QWaylandIviSurface);
>      d->send_configure(size.width(), size.height());
> }
>
> and not include qdebug header file.

My only guess is that it perhaps (sloppily) relies on it being
transitively included, but that something along the way to that
#include <QDebug> is conditional and happen to be excluded with your
particular combination of configure flags (which may be untested).
Just a long shot..

Elvis

>
> g++ -c -include .pch/Qt5XmlPatterns -pipe -O2 -std=c++1z
> -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -Wvla
> -Wdate-time -Wshift-overflow=2 -Wduplicated-cond
> -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_FOREACH
> -DQT_NO_USING_NAMESPACE
> -DQT_ENABLE_QEXPLICITLYSHAREDDATAPOINTER_STATICCAST
> -DYYLTYPE_IS_DECLARED=1 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
> -DQT_BUILD_XMLPATTERNS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII
> -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER
> -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG
> -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Iacceltree -Idata -Iapi
> -Ienvironment -Iexpr -Ifunctions -Iiterators -Ijanitors -Iparser
> -Ischema -Itype -Iutils -I../../include -I../../include/QtXmlPatterns
> -I../../include/QtXmlPatterns/5.12.0
> -I../../include/QtXmlPatterns/5.12.0/QtXmlPatterns
> -I/home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtCore/5.12.0
>  
> -I/home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtCore/5.12.0/QtCore
>  -I/home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include 
> -I/home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtNetwork 
> -I/home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtCore 
> -I.moc 
> -I/home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/mkspecs/linux-g++ 
> -o .obj/qrangevariablereference.o
> expr/qrangevariablereference.cpp
> extensions/qwaylandivisurface.cpp: In member function ‘void
> QWaylandIviSurface::sendConfigure(const QSize&)’:
> extensions/qwaylandivisurface.cpp:202:18: error: invalid use of
> incomplete type ‘class QDebug’
>           qWarning() << "Can't configure ivi_surface with an invalid
> size" << size;
>                    ^
> In file included from
> /home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qlogging.h:1:0,
>                   from
> /home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/global/qglobal.h:1200,
>                   from
> /home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtCore/qglobal.h:1,
>                   from
> /home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtGui/../../src/gui/kernel/qtguiglobal.h:43,
>                   from
> /home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtGui/qtguiglobal.h:1,
>                   from
> ../../include/QtWaylandCompositor/../../src/compositor/global/qtwaylandcompositorglobal.h:54,
>                   from
> ../../include/QtWaylandCompositor/qtwaylandcompositorglobal.h:1,
>                   from
> ../../include/QtWaylandCompositor/../../src/compositor/global/qwaylandcompositorextension.h:43,
>                   from
> ../../include/QtWaylandCompositor/qwaylandcompositorextension.h:1,
>                   from
> ../../include/QtWaylandCompositor/QWaylandCompositorExtension:1,
>                   from
> ../../include/QtWaylandCompositor/../../src/compositor/extensions/qwaylandshellsurface.h:43,
>                   from
> ../../include/QtWaylandCompositor/qwaylandshellsurface.h:1,
>                   from
> ../../include/QtWaylandCompositor/QWaylandShellSurface:1,
>                   from extensions/qwaylandivisurface.h:43,
>                   from extensions/qwaylandivisurface.cpp:40:
> /home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtbase/include/QtCore/../../src/corelib/global/qlogging.h:57:7:
>  note: forward declaration of ‘class
> QDebug’
>   class QDebug;
>         ^~~~~~
> Makefile:16704: recipe for target '.obj/qwaylandivisurface.o' failed
> make[3]: *** [.obj/qwaylandivisurface.o] Error 1
> make[3]: Leaving directory
> '/home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtwayland/src/compositor'
> Makefile:98: recipe for target 'sub-compositor-make_first' failed
> make[2]: *** [sub-compositor-make_first] Error 2
> make[2]: Leaving directory
> '/home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtwayland/src'
> Makefile:46: recipe for target 'sub-src-make_first' failed
> make[1]: *** [sub-src-make_first] Error 2
> make[1]: Leaving directory
> '/home/developer/qt_5_12_0/qt-everywhere-src-5.12.0/qtwayland'
> Makefile:598: recipe for target 'module-qtwayland-make_first' failed
> make: *** [module-qtwayland-make_first] Error 2
> make: *** Waiting for unfinished jobs....
>
> --
> Roland Hughes, President
> Logikal Solutions
> (630) 205-1593
>
> http://www.theminimumyouneedtoknow.com
> http://www.infiniteexposure.net
> http://www.johnsmith-book.com
> http://www.logikalblog.com
> http://www.interestingauthors.com/blog
> http://lesedi.us
>
_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to