Help QT Android Instalation Trouble
Qt Centre Forum
by fadlianturu6
15h ago
Hey there, i want make apps for Android but it seems have trouble First, its show a error sign like this 3e8aece4-fa3a-4c2d-9773-3bcc3946f134.png IDK what wrong because i do like this tutorial doing https://doc.qt.io/qt-6/android-getting-started.html because of that i cant make android device for simulation 921e309c-8c29-49ab-8239-0786d1dce5d1.jpg 1d491ec4-566a-4b11-9fca-01fa67cd3362.jpg I think it say device not set, but when i want to make device it never got saved Attached Images 3e8aece4-fa3a-4c2d-9773-3bcc3946f134.png (14.2 KB) 921e309c-8c29-49ab-8239-0786d1dce5d1.jpg (33.2 KB) 1d491 ..read more
Visit website
Lack of Data Read From Serial Port
Qt Centre Forum
by lucille
3d ago
Hi, ? am ne in Qt. I was trying to send data from STM32f407vg to Qt. The data is produced by RTC module and gives time, date (for example, 2024-03-11T17:01:24+08:00Monday). However the data read by Qt is not full in text edit always. It is like a loop below and repeated always. ``` 2 2 2 20 20 20 202 202 202 2024 2024 2024 2024- 2024- 2024- 2024-0 2024-0 2024-0 2024-03 2024-03 2024-03 2024-03- 2024-03- 2024-03- 2024-03-1 2024-03-1 2024-03-1 2024-03-11 2024-03-11 2024-03-11 2024-03-11T 2024-03-11T 2024-03-11T 2024-03-11T1 2024-03-11T1 2024-03-11T1 2024-03-11T17 2024-03-11T17 2024-03-11T17 2024 ..read more
Visit website
Troble installing qwt
Qt Centre Forum
by skishore1998
4d ago
I am trying to install qwt-6.2.0 in Windows. I am following the instructions given in qwt page for installing qwt. After the mingw32-make command I ran into an error and solved it by commenting a few lines in qwt.pro files as suggested in page. When I tried mingw32-make install I am getting an error C:\Qt\6.6.1\mingw_64\bin\qmake.exe -install qinstall C:\qwt-6.2.0\classincludes\QwtPlotSvgItem C:\Qwt-6.2.0\include\QwtPlotSvgItem mingw32-make[1]: Leaving directory 'C:/qwt-6.2.0/classincludes' cd doc\ && ( if not exist Makefile C:\Qt\6.6.1\mingw_64\bin\qmake.exe -o Makefile C:\qwt-6.2 ..read more
Visit website
Cookies for playing a video with phonon?
Qt Centre Forum
by spencerwash
4d ago
Hello guys, New html5 videos on youtube need cookies to be played. In my application, I already have the cookies from youtube.com since when I get video infos, I stored cookies in a QNetworkCookieJar. Now, to play that video, I need to tell phonon to use those cookies else I got the forbidden reply. I wonder if it is possible. Any suggestions ..read more
Visit website
A floppybird game challenge
Qt Centre Forum
by Mani poureini
4d ago
I need help Hi, I have made a floppybird game on qt with a graphicseen. I also made a text which show the height base on y(), but it is reversed. How can i fix it ? For example, when floppy bird go up, the height number which is based on y(); shows the lower number ..read more
Visit website
QML app don't run under WSL
Qt Centre Forum
by trekker84
4d ago
I try to run an application under WSL, but i crashes with segment fault immediately. In the stack trace, the last entry is std::string::_M_assign(std::string const&) -- main.cpp code int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QQmlApplicationEngine engine; /* Start Application */ const QUrl url(u"qrc:/Test/Main.qml"_qs); QObject::connect(&engine, &QQmlApplicationEngine::objectCreated, &app, [url](QObject *obj, const QUrl &objUrl) { if (!obj && url == objUrl) QCoreApplication::exit(-1); }, Qt::QueuedConnection); engine.load(url); return ap ..read more
Visit website
Migration from Qt 5.15.7 to Qt 6.7.0 and a small problem with QTreeWidget
Qt Centre Forum
by AgentX
1w ago
Hi everybdy, I'm now developping with Qt since 2010, I think (something like that), my last project has been developped with Qt 5.15.7 and I now need to convert it to Qt 6.7.0 for some reasons. The problem I got is wit the QTreeWidget, and especially the items. A simple example : Code: QTreeWidget* tree = new QTreeWidget(this); tree->setColumnCount(2); setCentralWidget(tree);   QTreeWidgetItem *item = new QTreeWidgetItem; item->setText(0, "blablabla"); item->setText(1, "blablabla"); tree->addTopLevelItem(item); item->setForeground(0, QBrush(Qt::red ..read more
Visit website
HELP - I'm currently using JDK 1.8, QT 5.15.2, Gradle 3.6.4, and Android API 33
Qt Centre Forum
by marisol
1w ago
QT1.jpg The current issue I'm stuck with is as shown in the following screenshot. Actually, there were no issues when building for lower versions of the Android OS before. This problem has arisen when building for the latest version of the Android OS. So, I suspect it's a compatibility issue between QT, JDK, Gradle, and the Android OS version. I'm currently using JDK 1.8, QT 5.15.2, Gradle 3.6.4, and Android API 33. Right now, I'm trying to upgrade the Gradle version first to be compatible with Android API 33. Then, I assume that upgrading the Gradle version will require upgrading the QT ver ..read more
Visit website
How do we build a project with qmake-qt4?
Qt Centre Forum
by budi
1w ago
After few adjust to correctmodule directories in migration qt4 project to qt5, then stumbeld on: g++ -c -pipe -O2 -D_REENTRANT -flto -fno-fat-lto-objects -Wall -Wextra -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_XML_LIB -DQT_CORE_LIB -I. -Ibuild -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtXml -I/usr/include/qt/QtCore -Ibuild -I/usr/lib/qt/mkspecs/linux-g++ -o build/main.o src/main.cpp In file included from src/mainwindow.h:33, from src/main.cpp:30: src/databook.h:33:10: fatal error: QtWidgets: No such file or directory 33 | #include <QtWidgets> Please help ! Edit: this a ..read more
Visit website
HELP - I'm currently using JDK 1.8, QT 5.15.2, Gradle 3.6.4, and Android API 33
Qt Centre Forum
by marisol
1w ago
QT1.jpg The current issue I'm stuck with is as shown in the following screenshot. Actually, there were no issues when building for lower versions of the Android OS before. This problem has arisen when building for the latest version of the Android OS. So, I suspect it's a compatibility issue between QT, JDK, Gradle, and the Android OS version. I'm currently using JDK 1.8, QT 5.15.2, Gradle 3.6.4, and Android API 33. Right now, I'm trying to upgrade the Gradle version first to be compatible with Android API 33. Then, I assume that upgrading the Gradle version will require upgrading the QT ver ..read more
Visit website

Follow Qt Centre Forum on FeedSpot

Continue with Google
Continue with Apple
OR