Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. error
    Log in to post

    • SOLVED Compilation errors C2589, C2062, C2059, C2988, C2143
      General and Desktop • error compilation msvc • • Linhares  

      9
      0
      Votes
      9
      Posts
      64
      Views

      I managed to solve it by moving an #include (of the class that has the #include "ExpressionEvaluator/exprtk.hpp" in it) that was in a .cpp file to the .h file and putting it before the #include of the class that has the #include <windows.h> in it. Thanks everyone for the help.
    • UNSOLVED QMYSQL driver not loaded on Ubuntu
      Installation and Deployment • qt5 qt creator error • • artem1997262  

      15
      0
      Votes
      15
      Posts
      156
      Views

      @artem1997262 said in QMYSQL driver not loaded on Ubuntu: Although below shows found that file Where is it located? And did you check whether it is 64bit this time?
    • UNSOLVED Build error 6.4 (configure)
      Qt 6 • error qt6 build configure • • continue98  

      21
      0
      Votes
      21
      Posts
      551
      Views

      i resolved this. Perhaps someone will be useful. I had cmake 3.24-rc4 and they broke something with it. Here is the link: https://gitlab.kitware.com/cmake/cmake/-/issues/23759 Rolled back cmake to 3.23.3, everything works fine @SGaist thk for trying to help
    • SOLVED including <Windows.h> gives error.
      General and Desktop • error qt 6.3.0 windows.h • • BigBen  

      4
      0
      Votes
      4
      Posts
      348
      Views

      @JonB Shifting it to before any other includes got rid of the error. There were no other details in the error messsage.
    • SOLVED Project not running..
      Tools • c++ error gui build and run • • Aahi  

      8
      0
      Votes
      8
      Posts
      370
      Views

      @JKSH Yes now It's working Thank you so much!
    • UNSOLVED qdbusreply: unexpected reply signature?
      General and Desktop • error dbus qdbus signature • • flodo  

      2
      0
      Votes
      2
      Posts
      143
      Views

      You have to register the expected Response first! In my case it was like #include <QtDBus/QDBusMetaType> // ... typedef QMap<QString, QMap<QString, QVariant> > ConnectionDetails; Q_DECLARE_METATYPE(ConnectionDetails) and int main() { qDBusRegisterMetaType<ConnectionDetails>(); // ... }
    • SOLVED Allocation of incomplete type "Ui::MainWindow"
      Qt 6 • error mainwindow incomplete type uimainwindow.h • • Aahi  

      7
      0
      Votes
      7
      Posts
      2812
      Views

      @Aahi On your previous answer, click on the three dots to the right and mark it as the correct answer.
    • UNSOLVED How to resolve qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. error
      Tools • error xcb qtcreator 5.14 not loading xcb • • Siddhartha V  

      8
      0
      Votes
      8
      Posts
      9249
      Views

      Hi Siddhartha, I am facing a similar issue, have you figured this out? If yes, then could you please help, thanks in advance.
    • SOLVED Tons of error for no obvious reason
      General and Desktop • c++ error qt creator 4.14 • • RekTekk249  

      13
      0
      Votes
      13
      Posts
      941
      Views

      @RekTekk249 said in Tons of error for no obvious reason: Two hours ago, everything was going well, until I realised I needed the same instance of my helper class in my MainWindow than in my LoginWindow. If you would have posted the whole file, esp. showing the parts you've changed, it would have saved a lot of troubleshooting ;-) It's also a debugging thing... If you made changes and suddenly nothing works anymore, revert the changes and try to figure out why it happened.
    • UNSOLVED Can't compile project using CLion and CMake
      General and Desktop • cmake error qt6 clion-ide • • mingvv  

      37
      0
      Votes
      37
      Posts
      4354
      Views

      Thank you to all the panellists, I’ll take care of it. Can we leave it open in case there are any mistakes or questions?
    • UNSOLVED Code 404 -- Message file not found
      Qt for WebAssembly • error wasm emscripten • • TMJJ001  

      1
      0
      Votes
      1
      Posts
      359
      Views

      No one has replied

    • UNSOLVED Libicu, needed by Qt5Core, compilation issues. Please help!! Worked fine in 18.04, but not 16.04.
      Installation and Deployment • error compilation ubuntu 16.04 qtcore help install • • zeethree50  

      8
      0
      Votes
      8
      Posts
      1527
      Views

      @zeethree50 said in Libicu, needed by Qt5Core, compilation issues. Please help!! Worked fine in 18.04, but not 16.04.: And it worked for me Great, so please don't forget to mark your post as solved!
    • UNSOLVED QT configuration issues with IMX6 Board
      General and Desktop • error • • rtvideo  

      2
      0
      Votes
      2
      Posts
      158
      Views

      @rtvideo said in QT configuration issues with IMX6 Board: /usr/bin/distcc/bin/g++-7 Does this exist? Compiler is usually /usr/bin/g++-7
    • SOLVED error: ‘QT_INIT_METAOBJECT’ does not name a type; did you mean ‘Q_INIT_RESOURCE’?
      General and Desktop • error • • rtvideo  

      10
      0
      Votes
      10
      Posts
      1550
      Views

      I would start with a clean source (make sure there are no generated files) and build dir
    • UNSOLVED Qt Creator fresh install Ubuntu 18.04, will open and close
      Installation and Deployment • error ubuntu 18.04 install ubuntu • • biaspoint  

      3
      0
      Votes
      3
      Posts
      1001
      Views

      @biaspoint I am pleased you have your situation sorted. Purely OOI, because I like shell scripting, why did you bother to put the xargs into your command when dpkg -l | grep qt | awk '{print $2}' would deliver the same result? :) | xargs -n1 echo is a bit of a no-op?
    • UNSOLVED couldnt build static Qt 5.13.1
      Installation and Deployment • linux error build static ubuntu 16.04 • • AngryD  

      1
      0
      Votes
      1
      Posts
      357
      Views

      No one has replied

    • SOLVED How to fix installer file while installing
      General and Desktop • error gui permissions qt5.13.0 .run installation pe • • hfinger  

      7
      0
      Votes
      7
      Posts
      621
      Views

      @hfinger said in How to fix installer file while installing: @sierdzio Do you mean something like /home/.qt5/? (This is Ubuntu.) Or something like /home/myhome/.qt5/? Note sure what you mean by local directory. I am a newbie. I usually install to /home/username/qt.
    • SOLVED Project ERROR: Cannot run compiler 'clang++'
      General and Desktop • error windows 10 directory clang++ • • qwerty11111122  

      3
      1
      Votes
      3
      Posts
      1325
      Views

      @aha_1980 said in Project ERROR: Cannot run compiler 'clang++': You usually get *.pro.user.16fe832 files if you copy the project to another machine and open it there without deleting the .pro.user first. ...yes. I suppose that's a missing piece of information. The machine I developed on couldn't properly report to github, so I copied it to a flash drive.
    • SOLVED Handling delayed dbus method
      General and Desktop • error qvariant dbus delayed method qmlextplugin • • blacky_i  

      2
      0
      Votes
      2
      Posts
      582
      Views

      I've solved it. To handle long I did not have to send immediately reply (even though tutorial said that we have to). And delayed reply will be send. Also in extension, QDBusPendingReply<QString, QByteArray> reply = *call; setting expecting signature to \"say\" and not looking to xml interface.
    • SOLVED Problem loading an image with QImage
      General and Desktop • error qimage image path qopengltexture • • JesusM  

      5
      0
      Votes
      5
      Posts
      1479
      Views

      @KillerSmath That solved my problem. Thanks!
    • UNSOLVED Qt shows error
      General and Desktop • error • • Rameshwar  

      4
      0
      Votes
      4
      Posts
      457
      Views

      When run the above code then it displays "process killed by signal". how to solve it, please help me.
    • SOLVED DLL issue even with all Qt DLL in the directory
      Installation and Deployment • error deployment dll • • Tapto  

      6
      0
      Votes
      6
      Posts
      1271
      Views

      Hello, Sorry, it took me a bit of time to make the tests: A simple "Hello world" project runs correctly in Qt Creator? When using the external lib, the program crashes. I suspect an incompatibility of this old lib with Windows 10. I need to further investigated this issue... Many thanks for your help!
    • UNSOLVED build Qt distcc Raspberry Pi 2 unrecognized command line option
      General and Desktop • error compile crosscompile distcc • • pauledd  

      5
      0
      Votes
      5
      Posts
      1204
      Views

      Well, I consider to remove/change the code in my qt app to not depend on qtwebengine... It just displays some wheather maps (images) from an online source. I think I can realize that by fetching those images somehow from that online source and display them on an QLabel or so. I think qtwebengine is quite an overkill for that :)
    • SOLVED Where to find libqsqlite
      General and Desktop • error embedded linux sqlite3 • • TMJJ001  

      9
      0
      Votes
      9
      Posts
      2315
      Views

      @SGaist Thanks for the reply. Indeed you are wright. It is very easy actually. I just compiled qt4.8.6 for my system. Then I found the sqlite project in sqldrivers. Compiled this library for my system, copied it and it works! Very easy. Learned again a lot! Thank you all for the great support!
    • UNSOLVED Error: libQtSql.so.4 on embedded system
      Mobile and Embedded • error embedded linux lib ti-sdk-am335x-e • • TMJJ001  

      7
      0
      Votes
      7
      Posts
      1741
      Views

      Just case: the latest version of Qt 4 is Qt 4.8.7.
    • SOLVED Problems connection to WSS with QWebSocket
      General and Desktop • error openssl ssl qwebsocket tls • • erazem  

      5
      0
      Votes
      5
      Posts
      3359
      Views

      Ok, thanks for the reply. It pointed me in the correct direction and after many failures I finally figured it out. I guess you only learn when you need to dig deep. The only thing I had to do was install the correct version of openSSL. Since it is my first time I had no idea what the letter actually meant, I picked the first build, which was version g, I had to install version n. For all future wanderers, the only thing you need to do to make the client work is one of the two options: Just copy ssleay32.dll and libeay32.dll to working directory OR Install the latest version and set PATH to the folder where the two dlls are located. After that you can use QWebSocket without even knowing SSL exists. Just call: QWebSocket socket; socket.open( QUrl("someaddress") ); And, when the dlls are found the warnings disappear. That's it.
    • UNSOLVED Qt 5.10.0 building mysql driver on Windows
      Installation and Deployment • error windows 10 mysql driver library not def • • EagleWatch  

      14
      0
      Votes
      14
      Posts
      8147
      Views

      @koahnig You're right, I think I'll go for it. Thx for your time et your help anyway.
    • SOLVED invalid application of 'sizeof' to incomplete type 'QVariant'
      QML and Qt Quick • error qvariant c++ and qml cod qvariantlist ql • • Elnur_Ismailzada  

      3
      0
      Votes
      3
      Posts
      5643
      Views

      @hskoglund thank you so much!!! I import <QVarianList> and it solved my problem.
    • SOLVED "The program has unexpectedly finished unexpectedly" in qt c++
      General and Desktop • error qtablewidget item search • • Lasith  

      3
      0
      Votes
      3
      Posts
      2029
      Views

      @Lasith Instead of 100 use ui->tableWidget->rowCount().
    • SOLVED Opening Firebird embedded database with QIBASE plugin
      General and Desktop • error embedded firebird qibase • • Mr.Floppy  

      5
      0
      Votes
      5
      Posts
      4225
      Views

      Did not work with Firebird 3.0.3 embedded without a running server or firebird.exe -a. It just started to work as a real embedded database and not a tcp based connection when using an empty hostName. Instead of: const QString hostName = "localhost"; just const QString hostName = ""; That helped finally!
    • UNSOLVED python error with debugger -yet again
      Installation and Deployment • python error mingw debugger • • Technologist  

      2
      0
      Votes
      2
      Posts
      753
      Views

      @Technologist Which python and mingw version do you use?
    • UNSOLVED Qt error is printed on the console; how to see where it originates from?
      QML and Qt Quick • error • • Stefan Monov76  

      2
      0
      Votes
      2
      Posts
      669
      Views

      Hi! You could install a custom message handler or force your application to die on warnings by defining QT_FATAL_WARNINGS.
    • SOLVED Catching JavaScript error messages.
      Qt WebKit • error javascript messagebox alert • • McLion  

      8
      0
      Votes
      8
      Posts
      2899
      Views

      @Konstantin-Tokarev For normal web browsing that would be sufficient, yes. In my case we use a web-driven GUI. If I stop the script that needed too long (due to some network error or whatever) the GUI is missing on the device.
    • Get error with QWebEngineView
      General and Desktop • error qwebengineview output • • HenrikSt.  

      4
      0
      Votes
      4
      Posts
      2694
      Views

      These messages aren't critical, you can ignore them. What's important is, that you don't crash the application anymore.
    • Program crashed but I don't know how to fix
      General and Desktop • error qwebengineview qml webview • • HenrikSt.  

      6
      0
      Votes
      6
      Posts
      1684
      Views

      The problem is the same as in your other thread: you need to take care of the destruction order of your qobjects.
    • UNSOLVED Cannot start QML Emulator
      QML and Qt Quick • qml error design control 2 puppet • • Crash22  

      7
      0
      Votes
      7
      Posts
      2914
      Views

      Unplugging the tablet does not help. You have to at least temporarily disable the driver. The issue is described in detail here: https://bugreports.qt.io/browse/QTBUG-47548 You can stop the driver like this: net stop WTabletServicePro And restart the driver with this command: net start WTabletServicePro
    • SOLVED Error - when adding the qml file to the project.
      General and Desktop • qml qt quick error • • Mathan M  

      5
      0
      Votes
      5
      Posts
      1545
      Views

      @p3c0 Thanks a lot.
    • SOLVED Signal/Slot unresolved overloaded function type QSpinBox
      General and Desktop • error signal & slot connect qspinbox overloaded • • pauledd  

      7
      0
      Votes
      7
      Posts
      5206
      Views

      Oh well, I see http://doc.qt.io/qt-5/qspinbox.html Signals void valueChanged(int i) void valueChanged(const QString &text) <--rtfm! Its now clear to me :)