automatically add suffix to the filename with QFileDialog?
under linux, even I set default suffix, it is not added to the filename, such as “xxx”, is it normal under linux? QFileDialog filedialog(this); ...
View ArticleWin XP Embedded -"The memory could not be "read"."
Hello. I have written two small QT applications (QT4.7.4) and compiled under Windows with dynamic linking. The Qt DLL files has been copied to the folder with an executable and everything works fine on...
View ArticleCan't compile a thing!
Hi there, yesterday (27.03) I’ve downloaded the Qt 5.0.1 for Linux 32-bit (388 MB) and run the setup. That looked okay. But whatever I compile (even the samples) lead to exact the same error messages....
View ArticleHow to create a settings Menu?
Hi, I need to add menu (Blackberry style), but I can’t. My proyect use QWidget, UI. I tested this code: … // Create the application menu Menu *menu = new Menu; // Create the actions and add them to the...
View Articlerepaint() causes a crash
I have two QWidgets, w1 and w2. The two widgets contain complementary information, so they both need to be redrawn at the same time. w1 is updated via repaint(), which works fine. I call repaint()...
View ArticleQML is slow in Android
QML is slow in Android 4.1 ARMv5 or ARMv7 of 1.2 ghz. delay in the design of items in listview. nothing good result. is not good. In the windows7 was perfect. I’m doing something wrong? import QtQuick...
View Articlewidget displaying content in relation with QGraphicView
Hello, I’m trying to build a window which contain different parts and I’m almost done but there’s a last step that I’m having difficulties with. A image will be faster to describe what I want : Ling to...
View ArticleQt graphics - view framework use CPU to render, not GPU?
I wonder, Qt graphics – view framework use CPU to render, not GPU, and all the implementation below this would follow this rule. Is it true? You know that game needs real time rendering. I worry that a...
View ArticleQtCreator Autocomplete Not Showing Arguments For OpenGL Functions?
Hi, I’m using QtCreator for my C++ and OpenGL development and it seems that it can’t complete arguments for opengl functions? #include <GL/glew.h> #include <GL/glfw.h> I’m...
View ArticlePlay a sound with Qt5 and Windows 8 + minWG
Good evening everbody: I’m really new in Qt, and I like it so much, there are many reasons why. In fact I’ve built a simple app type widget. This app consists in a game in which system randomly choose...
View ArticlePyside 2.7 installation for windows vista
I’m having trouble with the installation of pyside for windows vista. I simply download the windows installer and ran it. I assume that is all that I am supposed to do on a windows platform. I ran a...
View ArticleReproducir sonido en Qt5 + windows 8 + minGW
Buenas noches señores: Podrían decirme cómo puedo reproducir un sonido en qt cada vez que presiono un botón, o cuando según un evento se produzca, lo hago par un juego simple; soy novato (apenas llevo...
View Articleerror MSB6006: "cmd.exe" exited with code 3.
Hi, I’m using a VS project which depends on Qt but when building the project this error is still appearing “ error MSB6006: “cmd.exe” exited with code 3. I’ve posted a question on msdn forums here...
View ArticleQSvgRenderer antialiasing seems not working
Hi all, I have an svg image and I need to scale it using QPainter & QImage. The final image is redered using QSvgRenderer. However, there is no change at the output image even though I apply...
View Articleusing QsqlDatabase::transition();
Hi, I want to use the function transition to revert all changes after a commit has failed. Ihave looked in the Qt 5 documentation but i can’t find if i need to call it before changing the model or just...
View ArticleWebSocket client
Hello everybody, I am developing application that need to communicate with remote server via websockets. I was looking for some websocket client implementations and I have found QtWebSockets...
View ArticleQTableWidget: prevent collumns to be cropped when resized
Dear All, I’m trying to find out how to get proper column resizing when the parent (a QDockWidget) is resized itself. Here is what I currently get: I tried all the sizePolicies on both the QTableWidget...
View ArticleQml evaluatejavascript problem
Hello, I have Qml WebView and I’m trying to simulate a click event on a div. the div is: <div class=“ih” ><div class=“jh kh”></div></div>I have...
View Articledelete widgets when a button is clicked
When add button is clicked a Progresss bar and a delete button are added to a scollarea in a new line and when delete button is clicked the whole line (progress bar and delete button) must be deleted ....
View ArticleHow to add data into listview from log file
Hi I am very beginer to the Qt development and i faced problem I have a log file and it had some data in that file then i want to display in that data in my listView i try but still i havent proper way...
View Article