QT5.8 installed when the problem(qt-everywhere-opensource-src-5-8-0)



  • Install QT5.8.0 in Ubuntu 16.04.
    Problems installing QT5.8.0 configuration information.

    1 #!/bin/sh
    2 ./configure
    3 -v -prefix /usr/local/qt-5.8.0 -release -opensource -no-accessi bility -make libs -xplatform linux-arm-gnueabi-g++ -optimized-qma ke -pch -sql-sqlite -qt-zlib -tslib -no-opengl -no-sse2 -no- openssl -no-cups -no-glib -no-pkg-config -no-separate-debug-inf o -I/usr/local/tslib1.4/include -L/usr/local/tslib1.4/lib
    ~

    Note: -optimized-tools is not useful in -release mode.
    Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
    WARNING: Accessibility disabled. This configuration of Qt is unsupported.
    ERROR: Feature 'tslib' was enabled, but the pre-condition 'libs.tslib' failed.

    Failed to create Makefile.



  • @Coco-yan said in QT5.8 installed when the problem(qt-everywhere-opensource-src-5-8-0):

    Install QT5.8.0 in Ubuntu 16.04.
    Problems installing QT5.8.0 configuration information.

    1 #!/bin/sh
    2 ./configure
    3 -v -prefix /usr/local/qt-5.8.0 -release -opensource -no-accessi bility -make libs -xplatform linux-arm-gnueabi-g++ -optimized-qma ke -pch -sql-sqlite -qt-zlib -tslib -no-opengl -no-sse2 -no- openssl -no-cups -no-glib -no-pkg-config -no-separate-debug-inf o -I/usr/local/tslib1.4/include -L/usr/local/tslib1.4/lib
    ~

    Note: -optimized-tools is not useful in -release mode.
    Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.
    WARNING: Accessibility disabled. This configuration of Qt is unsupported.
    ERROR: Feature 'tslib' was enabled, but the pre-condition 'libs.tslib' failed.

    Failed to create Makefile.



  • Building on: x86_64
    Building for: arm
    Configuration: cross_compile compile_examples enable_new_dtags largefile precompile_header shared rpath release c++11 concurrent dbus no-pkg-config mremap reduce_exports release_tools stl
    Build options:
    Mode ................................... release; optimized tools
    Building shared libraries .............. yes
    Using C++ standard ..................... C++11
    Using gold linker ...................... no
    Using new DTAGS ........................ yes
    Using precompiled headers .............. yes
    Using LTCG ............................. no
    Target compiler supports:
    NEON ................................. no
    Build parts ............................ libs
    Qt modules and options:
    Qt Concurrent .......................... yes
    Qt D-Bus ............................... yes
    Qt D-Bus directly linked to libdbus .... no
    Qt Gui ................................. yes
    Qt Widgets ............................. yes
    Support enabled for:
    Accessibility .......................... no
    Using pkg-config ....................... no
    QML debugging .......................... yes
    udev ................................... no
    Using system zlib ...................... no
    Qt Core:
    DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
    GLib ................................... no
    iconv .................................. yes
    ICU .................................... no
    Logging backends:
    journald ............................. no
    syslog ............................... no
    Using system PCRE ...................... no
    Qt Network:
    getaddrinfo() .......................... yes
    getifaddrs() ........................... yes
    IPv6 ifname ............................ yes
    libproxy ............................... no
    OpenSSL ................................ no
    Qt directly linked to OpenSSL ........ no
    SCTP ................................... no
    Use system proxies ..................... yes
    Qt Sql:
    DB2 (IBM) .............................. no
    InterBase .............................. no
    MySql .................................. no
    OCI (Oracle) ........................... no
    ODBC ................................... no
    PostgreSQL ............................. no
    SQLite2 ................................ no
    SQLite ................................. yes
    Using system provided SQLite ......... no
    TDS (Sybase) ........................... no
    Qt Gui:
    FreeType ............................... yes
    Using system FreeType ................ no
    HarfBuzz ............................... yes
    Using system HarfBuzz ................ no
    Fontconfig ............................. no
    Image formats:
    GIF .................................. yes
    ICO .................................. yes
    JPEG ................................. yes
    Using system libjpeg ............... no
    PNG .................................. yes
    Using system libpng ................ no
    OpenGL:
    EGL .................................. no
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    Session Management ..................... yes
    Features used by QPA backends:
    evdev .................................. yes
    libinput ............................... no
    mtdev .................................. no
    tslib .................................. no
    xkbcommon-evdev ........................ no
    QPA backends:
    DirectFB ............................... no
    EGLFS .................................. no
    LinuxFB ................................ yes
    Mir client ............................. no
    Qt Widgets:
    GTK+ ................................... no
    Styles ................................. Fusion Windows
    Qt PrintSupport:
    CUPS ................................... no
    Qt SerialBus:
    Socket CAN ............................. yes
    Socket CAN FD .......................... yes
    QtXmlPatterns:
    XML schema support ..................... yes
    Qt QML:
    QML interpreter ........................ yes
    QML network support .................... yes
    Qt Quick:
    Direct3D 12 ............................ no
    AnimatedImage item ..................... yes
    Canvas item ............................ yes
    Support for Quick Designer ............. yes
    Flipable item .......................... yes
    GridView item .......................... yes
    ListView item .......................... yes
    Path support ........................... yes
    PathView item .......................... yes
    Positioner items ....................... yes
    ShaderEffect item ...................... yes
    Sprite item ............................ yes
    Qt Gamepad:
    SDL2 ................................... no
    Qt 3D:
    System Assimp .......................... no
    Qt Wayland Client ........................ no
    Qt Wayland Compositor .................... no
    Qt Bluetooth:
    BlueZ .................................. no
    BlueZ Low Energy ....................... no
    Linux Crypto API ....................... no
    Qt Multimedia:
    ALSA ................................... no
    GStreamer 1.0 .......................... no
    GStreamer 0.10 ......................... no
    Video for Linux ........................ yes
    OpenAL ................................. no
    PulseAudio ............................. no
    Resource Policy (libresourceqt5) ....... no
    DirectShow ............................. no
    Windows Media Foundation ............... no
    Qt Location:
    Gypsy GPS Daemon ....................... no
    WinRT Geolocation API .................. no
    Qt Sensors:
    sensorfw ............................... no
    Qt WebEngine:
    Proprietary Codecs ..................... no
    Spellchecker ........................... yes
    ALSA ................................... no
    PulseAudio ............................. no



  • qmake configuration for building with arm-linux-gnueabi-g++

    MAKEFILE_GENERATOR = UNIX
    CONFIG += incremental
    QMAKE_INCREMENTAL_STYLE = sublib

    QT_QPA_DEFAULT_PLATFORM = linux #eglfs
    QMAKE_CFLAGS_RELEASE += -O2 -march=armv7-a
    QMAKE_CXXFLAGS_RELEASE += -O2 -march=armv7-a

    include(../common/linux.conf)
    include(../common/gcc-base-unix.conf)
    include(../common/g++-unix.conf)

    modifications to g++.conf

    QMAKE_CC = arm-none-linux-gnueabi-gcc
    QMAKE_CXX = arm-none-linux-gnueabi-g++
    QMAKE_LINK = arm-none-linux-gnueabi-g++
    QMAKE_LINK_SHLIB = arm-none-linux-gnueabi-g++

    modifications to linux.conf

    QMAKE_AR = arm-none-linux-gnueabi-ar cqs
    QMAKE_OBJCOPY = arm-none-linux-gnueabi-objcopy
    QMAKE_NM = arm-none-linux-gnueabi-nm -P
    QMAKE_STRIP = arm-none-linux-gnueabi-strip
    load(qt_config)


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    From a quick look, you need to pass the -I and -L parameters with a space.

    Hope it helps



  • @SGaist
    I have passed a tslib1.4 path.Do you need to pass in other parameters?

    -I /usr/local/tslib1.4/include -L /usr/local/tslib1.4/lib.
    This is my incoming tslib1.4 installation path.
    Thank you, trouble you!



  • @SGaist
    I feel the lack of a lib plugin, but lib plugin too much, I do not know which, tslib need lib plug.


  • Lifetime Qt Champion

    Sorry, I don't understand that last sentence.


Log in to reply
 

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