Ubuntu 16.04.1 with webkit



  • Hi,

    I am trying to compile the QT version 4.8.0, with the following command:
    ./configure -no-static -shared -opensource -webkit -nomake examples -nomake demos -release -confirm-license
    I got "WebKit module ........ No".
    I tried to install the following packages:
    "sudo apt-get install bison chrpath flex gperf libfontconfig1-dev libgl1-mesa-dev libgles2-mesa-dev libglib2.0-dev libglu1-mesa-dev libgstreamer-plugins-base1.0-dev libgstreamer1.0-dev libicu-dev libjpeg-dev libpng12-dev libqt4-dev libqt4-opengl-dev libsqlite3-dev libxml2-dev libxrender-dev libxslt1-dev mesa-common-dev pkg-config pkg-kde-tools python-minimal python2.7 qt4-default ruby"

    Still got the same message.
    Please help


  • Lifetime Qt Champion

    Hi,

    IIRC, the WebKit module can't be build statically.

    Out of curiosity, why use such an old version of Qt ? If locked with Qt 4, you should at least update to the latest available version.



  • Hi,

    My program is using qt 4.8.0 and i want to create a new compilation server.
    I tried to upgrade the Qt to version 4.8.6 and i got the same message - WebKit module ........ No

    I attached the logs from the config:

    floatmath auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o floatmath.o floatmath.cpp
    floatmath.cpp:44:14: warning: unused parameter ‘argc’ [-Wunused-parameter]
    int main(int argc, char argv)
    ^
    floatmath.cpp:44:27: warning: unused parameter ‘argv’ [-Wunused-parameter]
    int main(int argc, char argv)
    ^
    g++ -Wl,-O1 -o floatmath floatmath.o
    floatmath enabled.
    mmx auto-detection... ()
    g++ -c -pipe -mmmx -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o mmx.o mmx.cpp
    g++ -Wl,-O1 -o mmx mmx.o -mmmx
    mmx enabled.
    3dnow auto-detection... ()
    g++ -c -pipe -m3dnow -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o 3dnow.o 3dnow.cpp
    g++ -Wl,-O1 -o 3dnow 3dnow.o -m3dnow
    3dnow enabled.
    sse auto-detection... ()
    g++ -c -pipe -msse -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o sse.o sse.cpp
    g++ -Wl,-O1 -o sse sse.o -msse
    sse enabled.
    sse2 auto-detection... ()
    g++ -c -pipe -msse2 -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o sse2.o sse2.cpp
    g++ -Wl,-O1 -o sse2 sse2.o -msse2
    sse2 enabled.
    sse3 auto-detection... ()
    g++ -c -pipe -msse3 -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o sse3.o sse3.cpp
    g++ -Wl,-O1 -o sse3 sse3.o -msse3
    sse3 enabled.
    ssse3 auto-detection... ()
    g++ -c -pipe -mssse3 -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o ssse3.o ssse3.cpp
    g++ -Wl,-O1 -o ssse3 ssse3.o -mssse3
    ssse3 enabled.
    sse4_1 auto-detection... ()
    g++ -c -pipe -msse4.1 -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o sse4_1.o sse4_1.cpp
    g++ -Wl,-O1 -o sse4_1 sse4_1.o -msse4.1
    sse4_1 enabled.
    sse4_2 auto-detection... ()
    g++ -c -pipe -msse4.2 -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o sse4_2.o sse4_2.cpp
    g++ -Wl,-O1 -o sse4_2 sse4_2.o -msse4.2
    sse4_2 enabled.
    avx auto-detection... ()
    g++ -c -pipe -mavx -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o avx.o avx.cpp
    g++ -Wl,-O1 -o avx avx.o -mavx
    avx enabled.
    ipc_sysv auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o ipc.o ipc.cpp
    g++ -Wl,-O1 -o ipc_sysv ipc.o
    ipc_sysv enabled.
    zlib auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o zlib.o zlib.cpp
    zlib.cpp: In function ‘int main(int, char
    )’:
    zlib.cpp:46:15: warning: variable ‘stream’ set but not used [-Wunused-but-set-variable]
    z_streamp stream;
    ^
    zlib.cpp:48:17: warning: variable ‘ver’ set but not used [-Wunused-but-set-variable]
    const char ver = zlibVersion();
    ^
    zlib.cpp:51:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
    int res = compress2(0, 0, 0, 0, 1);
    ^
    g++ -Wl,-O1 -o zlib zlib.o -lz
    zlib enabled.
    libjpeg auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o libjpeg.o libjpeg.cpp
    libjpeg.cpp: In function ‘int main(int, char
    )’:
    libjpeg.cpp:51:32: warning: ‘cinfo’ is used uninitialized in this function [-Wuninitialized]
    jpeg_create_compress(cinfo);
    ^
    g++ -Wl,-O1 -o libjpeg libjpeg.o -ljpeg
    libjpeg enabled.
    libpng auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o libpng.o libpng.cpp
    libpng.cpp: In function ‘int main(int, char
    *)’:
    libpng.cpp:50:17: warning: variable ‘png_ptr’ set but not used [-Wunused-but-set-variable]
    png_structp png_ptr;
    ^
    g++ -Wl,-O1 -o libpng libpng.o -lpng
    libpng enabled.
    DB2 auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o db2.o db2.cpp
    db2.cpp:42:20: fatal error: sqlcli.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'db2.o' failed
    make: *** [db2.o] Error 1
    DB2 disabled.
    InterBase auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o ibase.o ibase.cpp
    ibase.cpp:42:19: fatal error: ibase.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'ibase.o' failed
    make: *** [ibase.o] Error 1
    InterBase disabled.
    MySQL (thread-safe) auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o mysql.o ../mysql/mysql.cpp
    ../mysql/mysql.cpp:42:19: fatal error: mysql.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'mysql.o' failed
    make: *** [mysql.o] Error 1
    MySQL (thread-safe) disabled.
    MySQL (thread-unsafe) auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o mysql.o mysql.cpp
    mysql.cpp:42:19: fatal error: mysql.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'mysql.o' failed
    make: *** [mysql.o] Error 1
    MySQL (thread-unsafe) disabled.
    OCI auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o oci.o oci.cpp
    oci.cpp:42:17: fatal error: oci.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'oci.o' failed
    make: *** [oci.o] Error 1
    OCI disabled.
    ODBC auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o odbc.o odbc.cpp
    odbc.cpp:45:17: fatal error: sql.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'odbc.o' failed
    make: *** [odbc.o] Error 1
    ODBC disabled.
    iODBC auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o iodbc.o iodbc.cpp
    iodbc.cpp:42:17: fatal error: sql.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'iodbc.o' failed
    make: *** [iodbc.o] Error 1
    iODBC disabled.
    PostgreSQL auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o psql.o psql.cpp
    psql.cpp:42:22: fatal error: libpq-fe.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'psql.o' failed
    make: *** [psql.o] Error 1
    PostgreSQL disabled.
    SQLite2 auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o sqlite2.o sqlite2.cpp
    sqlite2.cpp:42:20: fatal error: sqlite.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'sqlite2.o' failed
    make: *** [sqlite2.o] Error 1
    SQLite2 disabled.
    unknown SQL driver: sqlite_symbian
    unknown SQL driver: symsql
    TDS auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o tds.o tds.cpp
    tds.cpp:42:22: fatal error: sybfront.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'tds.o' failed
    make: *** [tds.o] Error 1
    TDS disabled.
    NIS auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o nis.o nis.cpp
    g++ -Wl,-O1 -o nis nis.o -lnsl
    NIS enabled.
    Cups auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o cups.o cups.cpp
    cups.cpp:42:23: fatal error: cups/cups.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'cups.o' failed
    make: *** [cups.o] Error 1
    Cups disabled.
    POSIX iconv auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o iconv.o iconv.cpp
    g++ -Wl,-O1 -o iconv iconv.o
    POSIX iconv enabled.
    D-Bus auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/dbus-1.0 -I/usr/lib/i386-linux-gnu/dbus-1.0/include -o dbus.o dbus.cpp
    g++ -Wl,-O1 -o dbus dbus.o -ldbus-1
    D-Bus enabled.
    Glib auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -o glib.o glib.cpp
    glib.cpp: In function ‘int main(int, char**)’:
    glib.cpp:52:9: warning: ‘void g_thread_init(gpointer)’ is deprecated [-Wdeprecated-declarations]
    g_thread_init(NULL);
    ^
    In file included from /usr/include/glib-2.0/glib.h:107:0,
    from glib.cpp:44:
    /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
    void g_thread_init (gpointer vtable);
    ^
    glib.cpp:52:9: warning: ‘void g_thread_init(gpointer)’ is deprecated [-Wdeprecated-declarations]
    g_thread_init(NULL);
    ^
    In file included from /usr/include/glib-2.0/glib.h:107:0,
    from glib.cpp:44:
    /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
    void g_thread_init (gpointer vtable);
    ^
    glib.cpp:52:27: warning: ‘void g_thread_init(gpointer)’ is deprecated [-Wdeprecated-declarations]
    g_thread_init(NULL);
    ^
    In file included from /usr/include/glib-2.0/glib.h:107:0,
    from glib.cpp:44:
    /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here
    void g_thread_init (gpointer vtable);
    ^
    glib.cpp:48:19: warning: variable ‘context’ set but not used [-Wunused-but-set-variable]
    GMainContext context;
    ^
    glib.cpp:55:38: warning: ‘pollfd’ is used uninitialized in this function [-Wuninitialized]
    g_source_add_poll(source, pollfd);
    ^
    g++ -Wl,-O1 -o glib glib.o -pthread -lgthread-2.0 -lglib-2.0
    Glib enabled.
    GStreamer auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o gstreamer.o gstreamer.cpp
    gstreamer.cpp:42:21: fatal error: gst/gst.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'gstreamer.o' failed
    make: *** [gstreamer.o] Error 1
    GStreamer disabled.
    ICD auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o icd.o icd.cpp
    icd.cpp:42:22: fatal error: wlancond.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'icd.o' failed
    make: *** [icd.o] Error 1
    ICD disabled.
    ICU auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o icu.o icu.cpp
    g++ -Wl,-O1 -o icu icu.o -licuuc -licui18n
    ICU enabled.
    PulseAudio auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o pulseaudio.o pulseaudio.cpp
    pulseaudio.cpp:42:30: fatal error: pulse/pulseaudio.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'pulseaudio.o' failed
    make: *** [pulseaudio.o] Error 1
    PulseAudio disabled.
    Detecting broken X11 headers... (/opt/QT/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ yes /opt/QT/qt-everywhere-opensource-src-4.8.6 /opt/QT/qt-everywhere-opensource-src-4.8.6)
    X11 headers look good.
    XLib auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xlib.o xlib.cpp
    g++ -Wl,-O1 -o xlib xlib.o -L/usr/X11R6/lib -lXext -lX11 -lm
    XLib enabled.
    OpenGL auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -I/usr/X11R6/include -o opengl.o opengl.cpp
    opengl.cpp: In function ‘int main(int, char
    *)’:
    opengl.cpp:46:12: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
    GLuint x;
    ^
    g++ -Wl,-O1 -o opengl opengl.o -L/usr/X11R6/lib -lGL -lXext -lX11 -lm
    OpenGL enabled.
    Xcursor auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xcursor.o xcursor.cpp
    xcursor.cpp: In function ‘int main(int, char**)’:
    xcursor.cpp:61:19: warning: variable ‘image’ set but not used [-Wunused-but-set-variable]
    XcursorImage image;
    ^
    xcursor.cpp:63:21: warning: variable ‘cursors’ set but not used [-Wunused-but-set-variable]
    XcursorCursors cursors;
    ^
    g++ -Wl,-O1 -o xcursor xcursor.o -L/usr/X11R6/lib -lXcursor -lXext -lX11 -lm
    Xcursor enabled.
    Xfixes auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xfixes.o xfixes.cpp
    xfixes.cpp: In function ‘int main(int, char
    )’:
    xfixes.cpp:51:32: warning: variable ‘event’ set but not used [-Wunused-but-set-variable]
    XFixesSelectionNotifyEvent event;
    ^
    g++ -Wl,-O1 -o xfixes xfixes.o -L/usr/X11R6/lib -lXext -lX11 -lm
    Xfixes enabled.
    Xrandr auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xrandr.o xrandr.cpp
    xrandr.cpp: In function ‘int main(int, char**)’:
    xrandr.cpp:51:20: warning: variable ‘size’ set but not used [-Wunused-but-set-variable]
    XRRScreenSize size;
    ^
    g++ -Wl,-O1 -o xrandr xrandr.o -L/usr/X11R6/lib -lXrender -lXrandr -lXext -lX11 -lm
    Xrandr enabled.
    Xrender auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xrender.o xrender.cpp
    xrender.cpp: In function ‘int main(int, char
    *)’:
    xrender.cpp:50:24: warning: variable ‘format’ set but not used [-Wunused-but-set-variable]
    XRenderPictFormat format;
    ^
    g++ -Wl,-O1 -o xrender xrender.o -L/usr/X11R6/lib -lXrender -lXext -lX11 -lm
    Xrender enabled.
    mitshm auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o mitshm.o mitshm.cpp
    g++ -Wl,-O1 -o mitshm mitshm.o -L/usr/X11R6/lib -lXext -lXext -lX11 -lm
    mitshm enabled.
    FontConfig auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/include/freetype2 -I/usr/X11R6/include -o fontconfig.o fontconfig.cpp
    fontconfig.cpp: In function ‘int main(int, char
    *)’:
    fontconfig.cpp:56:13: warning: variable ‘face’ set but not used [-Wunused-but-set-variable]
    FT_Face face;
    ^
    fontconfig.cpp:58:16: warning: variable ‘pattern’ set but not used [-Wunused-but-set-variable]
    FcPattern pattern;
    ^
    g++ -Wl,-O1 -o fontconfig fontconfig.o -L/usr/X11R6/lib -lfreetype -lfontconfig -lXext -lX11 -lm
    FontConfig enabled.
    Session Management auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o sm.o sm.cpp
    sm.cpp: In function ‘int main(int, char
    *)’:
    sm.cpp:46:15: warning: variable ‘pointer’ set but not used [-Wunused-but-set-variable]
    SmPointer pointer;
    ^
    g++ -Wl,-O1 -o sm sm.o -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 -lm
    Session Management enabled.
    XShape auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xshape.o xshape.cpp
    xshape.cpp: In function ‘int main(int, char**)’:
    xshape.cpp:48:17: warning: variable ‘shapeevent’ set but not used [-Wunused-but-set-variable]
    XShapeEvent shapeevent;
    ^
    g++ -Wl,-O1 -o xshape xshape.o -L/usr/X11R6/lib -lXext -lX11 -lm
    XShape enabled.
    XVideo auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xvideo.o xvideo.cpp
    xvideo.cpp:43:31: fatal error: X11/extensions/Xv.h: No such file or directory
    compilation terminated.
    Makefile:190: recipe for target 'xvideo.o' failed
    make: *** [xvideo.o] Error 1
    XVideo disabled.
    XSync auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xsync.o xsync.cpp
    xsync.cpp: In function ‘int main(int, char**)’:
    xsync.cpp:51:28: warning: statement has no effect [-Wunused-value]
    (void*)&XSyncIntToValue;
    ^
    xsync.cpp:52:31: warning: statement has no effect [-Wunused-value]
    (void*)&XSyncCreateCounter;
    ^
    xsync.cpp:50:16: warning: unused variable ‘value’ [-Wunused-variable]
    XSyncValue value;
    ^
    g++ -Wl,-O1 -o xsync xsync.o -L/usr/X11R6/lib -lXext -lX11 -lm
    XSync enabled.
    Xinerama auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xinerama.o xinerama.cpp
    xinerama.cpp: In function ‘int main(int, char**)’:
    xinerama.cpp:47:25: warning: variable ‘info’ set but not used [-Wunused-but-set-variable]
    XineramaScreenInfo info;
    ^
    g++ -Wl,-O1 -o xinerama xinerama.o -L/usr/X11R6/lib -lXinerama -lXext -lX11 -lm
    Xinerama enabled.
    XInput auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xinput.o xinput.cpp
    xinput.cpp: In function ‘int main(int, char
    *)’:
    xinput.cpp:55:25: warning: variable ‘event’ set but not used [-Wunused-but-set-variable]
    XDeviceButtonEvent *event;
    ^
    g++ -Wl,-O1 -o xinput xinput.o -L/usr/X11R6/lib -lXi -lXext -lX11 -lm
    XInput enabled.
    XKB auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o xkb.o xkb.cpp
    g++ -Wl,-O1 -o xkb xkb.o -L/usr/X11R6/lib -lXext -lX11 -lm
    XKB enabled.
    Determining machine byte-order... (/opt/QT/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ yes /opt/QT/qt-everywhere-opensource-src-4.8.6 /opt/QT/qt-everywhere-opensource-src-4.8.6 )
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o endiantest.o endiantest.cpp
    g++ -Wl,-O1 -o endiantest endiantest.o
    Found 'LeastSignificantByteFirst' in binary
    rm -f endiantest.o
    rm -f *~ core *.core
    rm -f endiantest
    rm -f Makefile
    Using little endian.
    Determining machine byte-order... (/opt/QT/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ yes /opt/QT/qt-everywhere-opensource-src-4.8.6 /opt/QT/qt-everywhere-opensource-src-4.8.6)
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o endiantest.o endiantest.cpp
    g++ -Wl,-O1 -o endiantest endiantest.o
    Found 'LeastSignificantByteFirst' in binary
    rm -f endiantest.o
    rm -f *~ core *.core
    rm -f endiantest
    rm -f Makefile
    Using little endian.
    STL auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o stltest.o stltest.cpp
    stltest.cpp: In function ‘int main()’:
    stltest.cpp:135:13: warning: variable ‘first’ set but not used [-Wunused-but-set-variable]
    int first = (*m1it).first;
    ^
    stltest.cpp:137:16: warning: variable ‘second’ set but not used [-Wunused-but-set-variable]
    double second = (m1it).second;
    ^
    stltest.cpp:108:9: warning: variable ‘v1size’ set but not used [-Wunused-but-set-variable]
    int v1size = v1.size();
    ^
    stltest.cpp:110:9: warning: variable ‘v1capacity’ set but not used [-Wunused-but-set-variable]
    int v1capacity = v1.capacity();
    ^
    stltest.cpp:114:10: warning: variable ‘v1notfound’ set but not used [-Wunused-but-set-variable]
    bool v1notfound = (v1it == v1.end());
    ^
    stltest.cpp:118:10: warning: variable ‘v1found’ set but not used [-Wunused-but-set-variable]
    bool v1found = (v1it != v1.end());
    ^
    stltest.cpp:123:9: warning: variable ‘v2size’ set but not used [-Wunused-but-set-variable]
    int v2size = v2.size();
    ^
    stltest.cpp:131:9: warning: variable ‘m1size’ set but not used [-Wunused-but-set-variable]
    int m1size = m1.size();
    ^
    stltest.cpp:141:9: warning: variable ‘m2size’ set but not used [-Wunused-but-set-variable]
    int m2size = m2.size();
    ^
    stltest.cpp:145:9: warning: unused variable ‘n’ [-Wunused-variable]
    int n = std::distance(it1, it2);
    ^
    g++ -Wl,-O1 -o stl stltest.o
    STL enabled.
    IPv6 auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o ipv6test.o ipv6test.cpp
    g++ -Wl,-O1 -o ipv6 ipv6test.o
    IPv6 enabled.
    POSIX clock_gettime() auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o clock-gettime.o clock-gettime.cpp
    g++ -Wl,-O1 -o clock-gettime clock-gettime.o -lrt
    POSIX clock_gettime() enabled.
    POSIX Monotonic Clock auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o clock-monotonic.o clock-monotonic.cpp
    g++ -Wl,-O1 -o clock-monotonic clock-monotonic.o -lrt
    POSIX Monotonic Clock enabled.
    mremap auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o mremap.o mremap.cpp
    g++ -Wl,-O1 -o mremap mremap.o
    mremap enabled.
    getaddrinfo auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o getaddrinfotest.o getaddrinfotest.cpp
    g++ -Wl,-O1 -o getaddrinfo getaddrinfotest.o
    getaddrinfo enabled.
    inotify auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o inotifytest.o inotifytest.cpp
    g++ -Wl,-O1 -o inotify inotifytest.o
    inotify enabled.
    IPv6 interface name auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o ipv6ifname.o ipv6ifname.cpp
    g++ -Wl,-O1 -o ipv6ifname ipv6ifname.o
    IPv6 interface name enabled.
    getifaddrs auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o getifaddrs.o getifaddrs.cpp
    g++ -Wl,-O1 -o getifaddrs getifaddrs.o
    getifaddrs enabled.
    OpenSSL auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o openssl.o openssl.cpp
    g++ -Wl,-O1 -o openssl openssl.o
    OpenSSL enabled.
    OpenVG auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o openvg.o openvg.cpp
    openvg.cpp:48:23: fatal error: VG/openvg.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'openvg.o' failed
    make: *** [openvg.o] Error 1
    OpenVG disabled.
    OpenVG auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o openvg.o openvg.cpp
    openvg.cpp:48:23: fatal error: VG/openvg.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'openvg.o' failed
    make: *** [openvg.o] Error 1
    OpenVG disabled.
    OpenVG (lc includes) auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -DQT_LOWER_CASE_VG_INCLUDES -I../../../mkspecs/linux-g++ -I. -o openvg.o openvg.cpp
    openvg.cpp:46:23: fatal error: vg/openvg.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'openvg.o' failed
    make: *** [openvg.o] Error 1
    OpenVG (lc includes) disabled.
    OpenVG (lc includes) auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -DQT_LOWER_CASE_VG_INCLUDES -I../../../mkspecs/linux-g++ -I. -I/usr/X11R6/include -o openvg.o openvg.cpp
    openvg.cpp:46:23: fatal error: vg/openvg.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'openvg.o' failed
    make: *** [openvg.o] Error 1
    OpenVG (lc includes) disabled.
    alsa auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o alsatest.o alsatest.cpp
    alsatest.cpp:42:28: fatal error: alsa/asoundlib.h: No such file or directory
    compilation terminated.
    Makefile:181: recipe for target 'alsatest.o' failed
    make: *** [alsatest.o] Error 1
    alsa disabled.
    Stdint auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/linux-g++ -I. -o main.o main.cpp
    g++ -Wl,-O1 -o stdint main.o
    Stdint enabled.
    Testing size of pointers ... (/opt/QT/qt-everywhere-opensource-src-4.8.6/mkspecs/linux-g++ yes /opt/QT/qt-everywhere-opensource-src-4.8.6 /opt/QT/qt-everywhere-opensource-src-4.8.6)
    rm -f ptrsizetest.o
    rm -f ~ core .core
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -o ptrsizetest.o ptrsizetest.cpp
    ptrsizetest.cpp: In function ‘int main(int, char
    )’:
    ptrsizetest.cpp:59:12: error: ‘PointerSize’ is not a member of ‘QPointerSizeTest<4>’
    return QPointerSizeTest<sizeof(void
    )>::PointerSize;
    ^
    Makefile:178: recipe for target 'ptrsizetest.o' failed
    make: *** [ptrsizetest.o] Error 1
    Pointer size: 4
    ln: failed to create symbolic link ‘/opt/QT/qt-everywhere-opensource-src-4.8.6/include/QtCore/qconfig.h’: File exists
    ln: failed to create symbolic link ‘/opt/QT/qt-everywhere-opensource-src-4.8.6/include/Qt/qconfig.h’: File exists

        This target is using the GNU C++ compiler (linux-g++).
    
        Recent versions of this compiler automatically include code for
        exceptions, which increase both the size of the Qt libraries and
        the amount of memory taken by your applications.
    
        You may choose to re-run configure with the -no-exceptions
        option to compile Qt without exceptions. This is completely binary
        compatible, and existing applications will continue to work.
    

    Build type: linux-g++
    Architecture: i386
    Platform notes:

            - Also available for Linux: linux-kcc linux-icc linux-cxx
    

    qmake vars .......... cat: .qmake.vars: No such file or directory
    qmake switches .........
    Build .................. libs tools docs translations
    Configuration .......... release largefile stl precompile_header mmx 3dnow sse sse2 sse3 ssse3 sse4_1 sse4_2 avx minimal-config small-config medium-config large-config full-config qt3support accessibility opengl shared reduce_exports ipv6 clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs inotify system-jpeg system-png png system-freetype system-zlib nis iconv glib dbus openssl x11sm xshape xsync xrender mitshm fontconfig xkb icu concurrent multimedia audio-backend svg script scripttools declarative release
    Debug .................. no
    Qt 3 compatibility ..... yes
    QtDBus module .......... yes (run-time)
    QtConcurrent code ...... yes
    QtGui module ........... yes
    QtScript module ........ yes
    QtScriptTools module ... yes
    QtXmlPatterns module ... no
    Phonon module .......... no
    Multimedia module ...... auto
    SVG module ............. yes
    WebKit module .......... no

    Please help!


  • Lifetime Qt Champion

    The latest and last version is 4.8.7

    Did you take into account my remark about the QtWebKit module being disabled when making a static build ?



  • yes,

    My problem was in the gcc compiler.
    Webkit supported to work with gcc version 4.+ but my compiler was 5.+.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.