Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QT creator

QT creator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 426 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q Offline
    Q Offline
    QT_NA
    wrote on last edited by
    #1

    Hello, I have a problem after building my first project on QT creator (ubuntu 24), I used :
    path of qtcreator : /usr/bin/qtcreator
    path of qmake : /usr/bin/qmake
    qmake --version
    QMake version 3.1
    Using Qt version 5.15.13 in /usr/lib/x86_64-linux-gnu
    I installed : sudo apt install qtdeclarative5-dev
    snap refresh
    snap list
    Name Version Rev Tracking Publisher Notes
    bare 1.0 5 latest/stable canonical✓ base
    beekeeper-studio 4.6.2 286 latest/stable matthew-rathbone -
    cheese 44.1 40 latest/stable ken-vandine✪ -
    cmake 3.30.3 1413 latest/stable crascit✓ classic
    code fee1edb8 167 latest/stable vscode✓ classic
    core18 20240612 2829 latest/stable canonical✓ base
    core20 20240416 2318 latest/stable canonical✓ base
    core22 20240809 1586 latest/stable canonical✓ base
    core24 20240710 490 latest/stable canonical✓ base
    cups 2.4.10-1 1058 latest/stable openprinting✓ -
    data-science-stack 0.1-8504370d189b9c977b29df110d47 16 latest/stable canonical✓ -
    drawio 24.7.8 226 latest/stable jgraph✓ -
    firefox 130.0-2 4848 latest/stable/… mozilla✓ -
    firmware-updater 0+git.5007558 127 latest/stable/… canonical✓ -
    gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 198 latest/stable canonical✓ -
    gnome-3-38-2004 0+git.efb213a 143 latest/stable canonical✓ -
    gnome-42-2204 0+git.510a601 176 latest/stable/… canonical✓ -
    gnome-46-2404 0+git.5d6be1b 48 latest/stable canonical✓ -
    gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ -
    jupyterlab-desktop 4.2.5-1 31 latest/stable projectjupyter✓ classic
    mc-installer 14.1 632 latest/stable kz6fittycent -
    mesa-2404 24.0.9 143 latest/stable canonical✓ -
    onlyoffice-desktopeditors 8.1.1 196 latest/stable onlyoffice✓ -
    onlyoffice-ds 8.1.1 230 latest/stable onlyoffice✓ -
    powershell 7.4.5 275 latest/stable microsoft-powershell✓ classic
    qalculate 5.2.0 475 latest/stable h-k -
    qtcreator-ros 13.0.2 116 latest/stable christianrauch classic
    snap-store 0+git.e3dd562 1173 latest/stable/… canonical✓ -
    snapd 2.63 21759 latest/stable canonical✓ snapd
    snapd-desktop-integration 0.9 178 latest/stable/… canonical✓ -
    thunderbird 128.1.0esr-1 507 latest/stable/… canonical✓ -
    transmission 4.0.6 100 latest/stable sameersharma2006 -

    And I have this error after build , please help :

    18:34:32: Running steps for project test1...
    18:34:32: Configuration unchanged, skipping qmake step.
    18:34:32: Starting: "/usr/bin/make" -j8
    /usr/lib/qt5/bin/uic ../../mainwindow.ui -o ui_mainwindow.h
    clang++ -c -pipe -g -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../test1 -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang -o moc_mainwindow.o moc_mainwindow.cpp
    /usr/lib/qt5/bin/uic: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
    make: *** [Makefile:394: ui_mainwindow.h] Error 127
    make: *** Waiting for unfinished jobs....
    18:34:34: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project test1 (kit: Desktop)
    When executing step "Make"
    18:34:34: Elapsed time: 00:02.

    jsulmJ 1 Reply Last reply
    0
    • Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      Qt 5.15.13 is long gone. Use Qt 6 please.

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      0
      • Q QT_NA

        Hello, I have a problem after building my first project on QT creator (ubuntu 24), I used :
        path of qtcreator : /usr/bin/qtcreator
        path of qmake : /usr/bin/qmake
        qmake --version
        QMake version 3.1
        Using Qt version 5.15.13 in /usr/lib/x86_64-linux-gnu
        I installed : sudo apt install qtdeclarative5-dev
        snap refresh
        snap list
        Name Version Rev Tracking Publisher Notes
        bare 1.0 5 latest/stable canonical✓ base
        beekeeper-studio 4.6.2 286 latest/stable matthew-rathbone -
        cheese 44.1 40 latest/stable ken-vandine✪ -
        cmake 3.30.3 1413 latest/stable crascit✓ classic
        code fee1edb8 167 latest/stable vscode✓ classic
        core18 20240612 2829 latest/stable canonical✓ base
        core20 20240416 2318 latest/stable canonical✓ base
        core22 20240809 1586 latest/stable canonical✓ base
        core24 20240710 490 latest/stable canonical✓ base
        cups 2.4.10-1 1058 latest/stable openprinting✓ -
        data-science-stack 0.1-8504370d189b9c977b29df110d47 16 latest/stable canonical✓ -
        drawio 24.7.8 226 latest/stable jgraph✓ -
        firefox 130.0-2 4848 latest/stable/… mozilla✓ -
        firmware-updater 0+git.5007558 127 latest/stable/… canonical✓ -
        gnome-3-28-1804 3.28.0-19-g98f9e67.98f9e67 198 latest/stable canonical✓ -
        gnome-3-38-2004 0+git.efb213a 143 latest/stable canonical✓ -
        gnome-42-2204 0+git.510a601 176 latest/stable/… canonical✓ -
        gnome-46-2404 0+git.5d6be1b 48 latest/stable canonical✓ -
        gtk-common-themes 0.1-81-g442e511 1535 latest/stable/… canonical✓ -
        jupyterlab-desktop 4.2.5-1 31 latest/stable projectjupyter✓ classic
        mc-installer 14.1 632 latest/stable kz6fittycent -
        mesa-2404 24.0.9 143 latest/stable canonical✓ -
        onlyoffice-desktopeditors 8.1.1 196 latest/stable onlyoffice✓ -
        onlyoffice-ds 8.1.1 230 latest/stable onlyoffice✓ -
        powershell 7.4.5 275 latest/stable microsoft-powershell✓ classic
        qalculate 5.2.0 475 latest/stable h-k -
        qtcreator-ros 13.0.2 116 latest/stable christianrauch classic
        snap-store 0+git.e3dd562 1173 latest/stable/… canonical✓ -
        snapd 2.63 21759 latest/stable canonical✓ snapd
        snapd-desktop-integration 0.9 178 latest/stable/… canonical✓ -
        thunderbird 128.1.0esr-1 507 latest/stable/… canonical✓ -
        transmission 4.0.6 100 latest/stable sameersharma2006 -

        And I have this error after build , please help :

        18:34:32: Running steps for project test1...
        18:34:32: Configuration unchanged, skipping qmake step.
        18:34:32: Starting: "/usr/bin/make" -j8
        /usr/lib/qt5/bin/uic ../../mainwindow.ui -o ui_mainwindow.h
        clang++ -c -pipe -g -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I../../../test1 -I. -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-clang -o moc_mainwindow.o moc_mainwindow.cpp
        /usr/lib/qt5/bin/uic: symbol lookup error: /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE
        make: *** [Makefile:394: ui_mainwindow.h] Error 127
        make: *** Waiting for unfinished jobs....
        18:34:34: The process "/usr/bin/make" exited with code 2.
        Error while building/deploying project test1 (kit: Desktop)
        When executing step "Make"
        18:34:34: Elapsed time: 00:02.

        jsulmJ Online
        jsulmJ Online
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #3

        @QT_NA said in QT creator:

        /snap/core20/current/lib/x86_64-linux-gnu/libpthread.so.0

        Are you trying to build a Snap package?

        https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved