Skip to content
  • 0 Votes
    5 Posts
    706 Views
    bibasmallB

    @sierdzio
    You are absolutely right, thank you. I didn't know about the nmake install command :)

  • 0 Votes
    1 Posts
    144 Views
    No one has replied
  • 0 Votes
    11 Posts
    1k Views
    N

    Ok, how about this - Anybody know a way I can add code or set env to enable rotation, (portrait/landscape, or...). As it is, the qt apps don't respond to phone sensors, but are fixes...

  • 0 Votes
    2 Posts
    455 Views
    advmA

    Found what was causing the problem from here.

    I don't know why but running without -j4 like this:

    mingw32-make

    there is no error and qt is built successfully. I thought that without -j4 I would see the error message but luckily there was no error.

  • 0 Votes
    5 Posts
    677 Views
    O

    Found it! Thanks!

  • 0 Votes
    6 Posts
    887 Views
    jeanmilostJ

    Thank you very much

  • 0 Votes
    15 Posts
    7k Views
    J.HilkJ

    @Burke212

    change

    setup(); CWC = new customWidgetClass();

    to

    CWC = new customWidgetClass(); setup();

    hopefully you did initialize CWC as nullptr, otherwise that would have crashed in release mode 10/10 times.

  • 0 Votes
    6 Posts
    2k Views
    N

    been a couple days since I have looked into this, but went in and modified the /bits/syscall.h file by simply adding the syscall number for renameat2

    was able to run the configure command and got this error at the end:

    ERROR: The OpenGL functionality tests failed!
    You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
    QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

    Check config.log for details.

    The full output from running (sorry I know it is long but I was unable to attach a file with everything like i wanted):

    Configure summary:

    Build type: linux-g++ (arm, CPU features: <none>)
    Configuration: use_gold_linker compile_examples enable_new_dtags largefile precompile_header shared rpath release c++11 c++14 concurrent dbus reduce_exports stl
    Build options:
    Mode ................................... release
    Optimize release build for size ........ no
    Building shared libraries .............. yes
    Using C++ standard ..................... C++14
    Using ccache ........................... no
    Using gold linker ...................... yes
    Using new DTAGS ........................ yes
    Using precompiled headers .............. yes
    Using LTCG ............................. no
    Target compiler supports:
    NEON ................................. no
    Build parts ............................ libs examples tools
    Qt modules and options:
    Qt Concurrent .......................... yes
    Qt D-Bus ............................... yes
    Qt D-Bus directly linked to libdbus .... no
    Qt Gui ................................. yes
    Qt Network ............................. yes
    Qt Sql ................................. yes
    Qt Testlib ............................. yes
    Qt Widgets ............................. yes
    Qt Xml ................................. yes
    Support enabled for:
    Using pkg-config ....................... yes
    QML debugging .......................... yes
    udev ................................... no
    Using system zlib ...................... yes
    Qt Core:
    DoubleConversion ....................... yes
    Using system DoubleConversion ........ no
    GLib ................................... no
    iconv .................................. yes
    ICU .................................... no
    Logging backends:
    journald ............................. no
    syslog ............................... no
    slog2 ................................ no
    Using system PCRE2 ..................... no
    Qt Network:
    getifaddrs() ........................... yes
    IPv6 ifname ............................ yes
    libproxy ............................... no
    OpenSSL ................................ no
    Qt directly linked to OpenSSL ........ no
    SCTP ................................... no
    Use system proxies ..................... yes
    Qt Gui:
    Accessibility .......................... yes
    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
    EGL .................................... no
    OpenVG ................................. no
    OpenGL:
    Desktop OpenGL ....................... no
    OpenGL ES 2.0 ........................ no
    OpenGL ES 3.0 ........................ no
    OpenGL ES 3.1 ........................ no
    OpenGL ES 3.2 ........................ no
    Vulkan ................................. no
    Session Management ..................... yes
    Features used by QPA backends:
    evdev .................................. yes
    libinput ............................... no
    INTEGRITY HID .......................... no
    mtdev .................................. no
    tslib .................................. no
    xkbcommon-evdev ........................ no
    QPA backends:
    DirectFB ............................... no
    EGLFS .................................. no
    LinuxFB ................................ yes
    VNC .................................... yes
    Mir client ............................. no
    X11:
    Using system-provided XCB libraries .. no
    EGL on X11 ........................... no
    Xinput2 .............................. no
    XCB XKB .............................. yes
    XLib ................................. no
    XCB render ........................... yes
    XCB GLX .............................. no
    XCB Xlib ............................. no
    Using system-provided xkbcommon ...... no
    Native painting (experimental) ....... no
    Qt Widgets:
    GTK+ ................................... no
    Styles ................................. Fusion Windows
    Qt PrintSupport:
    CUPS ................................... no
    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 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 Qt 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:
    Assimp ................................. yes
    System Assimp .......................... no
    Output Qt3D Job traces ................. no
    Output Qt3D GL traces .................. no
    Use SSE2 instructions .................. no
    Use AVX2 instructions .................. no
    Aspects:
    Render aspect ........................ yes
    Input aspect ......................... yes
    Logic aspect ......................... yes
    Animation aspect ..................... yes
    Extras aspect ........................ yes
    Qt 3D GeometryLoaders:
    Autodesk FBX ........................... no
    Qt Wayland Client ........................ no
    Qt Wayland Compositor .................... no
    Qt Bluetooth:
    BlueZ .................................. no
    BlueZ Low Energy ....................... no
    Linux Crypto API ....................... no
    WinRT Bluetooth API (desktop & UWP) .... no
    Qt Sensors:
    sensorfw ............................... no
    Qt Quick Controls 2:
    Styles ................................. Default Fusion Imagine Material Universal
    Qt Quick Templates 2:
    Hover support .......................... yes
    Multi-touch support .................... yes
    Qt Positioning:
    Gypsy GPS Daemon ....................... no
    WinRT Geolocation API .................. no
    Qt Location:
    Geoservice plugins:
    OpenStreetMap ........................ yes
    HERE ................................. yes
    Esri ................................. yes
    Mapbox ............................... yes
    MapboxGL ............................. no
    Itemsoverlay ......................... yes
    Qt Multimedia:
    ALSA ................................... no
    GStreamer 1.0 .......................... no
    GStreamer 0.10 ......................... no
    Video for Linux ........................ yes
    OpenAL ................................. no
    PulseAudio ............................. no
    Resource Policy (libresourceqt5) ....... no
    Windows Audio Services ................. no
    DirectShow ............................. no
    Windows Media Foundation ............... no
    Qt WebEngine:
    Embedded build ......................... no
    Pepper Plugins ......................... yes
    Printing and PDF ....................... yes
    Proprietary Codecs ..................... no
    Spellchecker ........................... yes
    Native Spellchecker .................... no
    WebRTC ................................. yes
    Use System Ninja ....................... no
    Geolocation ............................ yes
    Use v8 snapshot ........................ yes
    Use ALSA ............................... no
    Use PulseAudio ......................... no
    Optional system libraries used:
    re2 .................................. no
    icu .................................. no
    libwebp, libwebpmux and libwebpdemux . no
    opus ................................. no
    ffmpeg ............................... no
    libvpx ............................... no
    snappy ............................... no
    libsrtp .............................. no
    glib ................................. no
    zlib ................................. yes
    minizip .............................. no
    libevent ............................. no
    jsoncpp .............................. no
    protobuf ............................. no
    libxml2 and libxslt .................. no
    lcms2 ................................ no
    png .................................. no
    harfbuzz ............................. no
    Required system libraries:
    fontconfig ........................... no
    dbus ................................. no
    nss .................................. no
    khr .................................. no
    glibc ................................ yes
    Required system libraries for qpa-xcb:
    libdrm ............................... yes
    xcomposite ........................... no
    xcursor .............................. no
    xi ................................... no
    xrandr ............................... no
    xtst ................................. no

    Note: Also available for Linux: linux-clang linux-icc

    Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.

    Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.

    Note: Dropped compiler flags '-pthread' when detecting library 'webengine-protobuf'.

    WARNING: gperf is required to build QtWebEngine.

    WARNING: bison is required to build QtWebEngine.

    WARNING: flex is required to build QtWebEngine.

    ERROR: The OpenGL functionality tests failed!
    You might need to modify the include and library search paths by editing QMAKE_INCDIR_OPENGL[_ES2],
    QMAKE_LIBDIR_OPENGL[_ES2] and QMAKE_LIBS_OPENGL[_ES2] in the mkspec for your platform.

    Check config.log for details.

  • 0 Votes
    14 Posts
    6k Views
    SGaistS

    AFAIK, QtWebKit static build has been disabled a long time ago.

  • 0 Votes
    4 Posts
    2k Views
    S

    So it doesn't work even with developer-build :/, so recompile myself didn't help, still any solution.

  • 0 Votes
    12 Posts
    4k Views
    A

    @Eeli-K That would mean you can't use github at all then since it isn't under your control. If github is considered "under your control" you can just fork Qt to your github account though.

    I mean along these lines though no web server you don't actually own is truly under your control. And even then you are at the mercy of your internet provider even if it is physically your system. My company has quite a few web servers, but since things like AWS came around I don't buy actual hardware any more. AWS is not technically under my control even though I have root access to all the systems that are "mine".

    You're right though. I don't think it would really be an issue, but people have sued over smaller things. The safe way is definitely throw up a copy on your own web server. Knowing it will never be downloaded by anyone just seems to make it such a waste of resources though.

  • 0 Votes
    4 Posts
    1k Views
    Sh1gsS

    @raven-worx

    Yes, this is exactly what I was looking for. I didn't realize there was an example on it, silly mistake on my part. Thank you very much!

  • 0 Votes
    3 Posts
    1k Views
    SGaistS

    Hi,

    code.qt.io is the central repository of all Qt's code.

    Start from the qtbase module to have the basic pieces. If you would like to learn the internal, helping fixing bugs will also give you a better understanding of how things are working.

  • 0 Votes
    1 Posts
    533 Views
    No one has replied
  • 1 Votes
    2 Posts
    3k Views
    tekojoT

    Hi @amahta ,

    I was browsing the applications you have written, and they look really good.
    Would you be interested in having them presented in the Qt Showroom? http://showroom.qt.io

    They would be a good fit there, as they show off using Qt together with OpenCV in a practical way.
    Ping me on chat if you are interested.

    Tero // Online Community Manager

  • 0 Votes
    1 Posts
    977 Views
    No one has replied
  • 0 Votes
    5 Posts
    6k Views
    S

    Hi

    May I ask how you got this to build?

    I am trying to compile Qt with the following configuration (for Raspberry Pi):

    ./configure --prefix=/usr -release -opensource -confirm-license -c++11 -no-largefile -no-qml-debug -system-zlib \ -no-journald -system-libpng -system-freetype -system-libjpeg -system-sqlite -openssl -no-pulseaudio -alsa \ -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite2 -no-sql-tds -nomake examples -reduce-exports \ -no-directfb -no-linuxfb -eglfs -no-xcb -device linux-rasp-pi-g++ -device-option CROSS_COMPILE=/usr/bin/ -sysroot /

    Here is my patch:

    diff --git a/qtwebengine/tools/qmake/mkspecs/features/functions.prf b/qtwebengine/tools/qmake/mkspecs/features/functions.prf index ef0320d..5abaecc 100644 --- a/qtwebengine/tools/qmake/mkspecs/features/functions.prf +++ b/qtwebengine/tools/qmake/mkspecs/features/functions.prf @@ -12,13 +12,9 @@ defineTest(isPlatformSupported) { return(false) } - linux-g++*:!isGCCVersionSupported(): return(false) - !isPythonVersionSupported(): return(false) - linux-g++*|win32-msvc2013|macx-clang: return(true) boot2qt: return(true) - skipBuild("Qt WebEngine can currently only be built for Linux (GCC), Windows (MSVC 2013), OS X (XCode 5.1+) or Qt for Device Creation.") - return(false) + return(true) } defineTest(isPythonVersionSupported) { -- 2.1.0

    And it succeeds, but I don't get a message about WebEngine being an unsupported platform. It simply does not build that module. I tried to follow this reference here, but had no luck either: https://forum.qt.io/topic/48223/webengine-raspberry-pi/2

    I am building native, not cross, on Debian Jessie.

    Thanks in advance,

    Sam

  • 0 Votes
    4 Posts
    1k Views
    Joel BodenmannJ

    I googled for Qt source repository. Somewhere in a (wiki?) on the official Qt website there is a link to all their repositories: http://code.qt.io/cgit/qt/
    From there it is either just knowing that the QWidget stuff is in the qtbase project or a simple Ctrl+F for "widget" will also do. Click on that repository and go to the Tree tab. Then src -> widgets and from there it was just a couple of more Ctrl+F to figure out that qwidget.cpp is part of the kernel directory.

    I never browser the Qt sources myself before. It really just was 30 seconds of Ctrl+F magic :)

  • 0 Votes
    4 Posts
    4k Views
    chaithubkC

    I have faced the same issue, however I resolved it by following the instructions from the below link:

    http://pifuge.com/ubuntu/cPB-error-gnutls-handshake-failed-when-connecting-to-https-servers

  • 0 Votes
    5 Posts
    2k Views
    SGaistS

    Hi,

    To add to @koahnig, it's not a Qt specific problem. Compilers on Windows are not compatible one with the other, so basically you have to ensure that all components of your software are built using the same compiler.