Issue Hi im new to Qt and im trying to read for example the first 4 bytes of my .txt file and show it. I’ve been searching and figure that QbyteArray may help me best in this situation. so I
Continue readingTag: qt
[SOLVED] QString Spanish accent issue
Issue I have a program which connects to the wireless networks. It combines the Win API and Qt API. The problem is that it fails to connect for example to the network with SSID: Escritório. For other networks with only
Continue reading[SOLVED] Quazip-1.3 static linking issue
Issue I have built Quazip-1.3 libs statically with zlib-win-build-1.2.12 (build-VS2019-MT) – libz-static.lib. When I try to build my project then I get a lot of linking errors: LINK : warning LNK4217: symbol ‘[email protected]@@QAE_NXZ (public: bool __thiscall QSaveFile::commit(void))’ defined in ‘Qt5Cored.lib(qsavefile.obj)’
Continue reading[SOLVED] Possibility of converting a C++/Qt threads using event loops to C# (or java) threads with Dispatchers
Issue Is it possible to convert a Qt/C++ code that uses threads executing an event loop and using the signal/slot mechanism with queued connections to communicate between 2 threads ? I saw that there is this class called Dispatcher in
Continue reading[SOLVED] QApplication' is not defined
Issue I downloaded the script below from http://www.pythoncentral.io/pyside-pyqt-tutorial-interactive-widgets-and-layout-containers/ I get the following error message: NameError: name ‘QApplication’ is not defined I added the first two lines of the script. That did not help. I thought maybe I must not have
Continue reading[SOLVED] Qt: *.pro vs *.pri
Issue What is the difference between *.pro and *.pri configuration files for qmake? What should go into a *.pro file and what should go into a *.pri file? Solution A .pro file is what you would run QMake on. A
Continue reading[SOLVED] QImage loadFromData doesn't load the data of my images
Issue I’m new to Qt and I have been trying to develop a simple video streaming application. While developing my app, I’ve been facing a problem I thought could be ignored at first, but that’s not the case. In fact,
Continue reading[SOLVED] How create a custom componemt in Qt 6.2?
Issue I’ve been having that problem since I upgrade my Qt to 6.2 version. If I create a project in 5.15 version (like the project "untitled1" in the picture) I can create a new QML component ("Meutexto.qml" file) and call
Continue reading[SOLVED] How to draw an arc between two known points in Qt?
Issue I want to draw an arc between point B to point D and it should touch to point E. ( I want to draw AND gate symbol ) I tried this way QPainterPath path; path.arcTo(60,30,46,100,30*16,120*16); // ( x,y,width,height, startAngle,spanAngle)
Continue reading[SOLVED] QT OCI driver isn't working with MSVC compiler
Issue QT version 6.2.x I have compiled the oci driver for MinGW and MSVC. It works with MinGW compiler but not with MSVC. When I use MSVC compiler in my project I get the error "QOCI driver not loaded". The
Continue reading