Using qtqucik and qml in a qt widget based ui
I had a qt android application that currently uses a widget ui and want to use qtquick to use qml to make a new ui. To do this I used the following code QQuickView *view = new QQuickView();...
View ArticleHow to install multiple Qt 5.2 versions on Windows using offline installers
Hello, With previous Qt versions I have used the online installer to install the 32- and 64-bit MSVC and 32-bit MinGW Qt versions. This was pretty elegant as it created one root folder, one Qt Creator,...
View ArticleWhy is it not possible to use Widget Classes inside a QThread?
Hi, I was looking into QThread documentation to solve a problem at hand in our application and saw a detail saying that we cannot use widget classes inside a thread. One would ask why I want to do this...
View ArticlereadDatagram gives wrong ip address and port
I have a gsm modem with the following ip address: 10.122.91.216. I use readDatagram of QUdpSocket because it’s a udp socket: qint64 QUdpSocket::readDatagram ( char * data, qint64 maxSize, QHostAddress...
View ArticleQSvgGenerator rendering QGraphicsSvgItems with thick outlines
Hello all, I’m looking for a workaround to the issue where QGraphicsSvgItems when rendered to an SVG file using QSvgGenerator have thick borders/outlines around them. This is related to bug...
View ArticleMissing GUI application template
Hello, I’m very new to Qt and I’m trying to use it to build some applications for my beaglebone black using Dereck Malloy’s videos. I’ve install the latest version of Qt 5.2 on to my laptop however...
View Article我用qt5.0.1 使用multimedia 编译成release版本,dll都打上了,为什么没声音呢?
我用qt5.0.1 使用multimedia 编译成release版本,dll都打上了,为什么没声音呢? 但是在QT编译器里面运行debug是有声音呢。
View ArticleNot Able to align the rectangles
Hi All, I have one problem in vertically aligning the rectangles. import QtQuick 2.0 import "qrc:/gui" Rectangle { id: main_screen ...
View Article[Solved]Qt 5.2.0 and -lGL issue.
I installed Qt 5.2.0 on ubuntu 12.04 LTS. When I try to compile my first program, I see the following error mainwindow.o moc_mainwindow.o -L/opt/Qt5.2.0/5.2.0/gcc_64/lib -lQt5Widgets -lQt5Gui -lQt5Core...
View ArticleQt Creator and Mac
Hello to all, We are developing applications with QT5 QtCreator on mac 10.9 Unfortunately, as far as the dubbuging, we have problems because it is not possible to follow step by step the program if it...
View ArticleLong operations and keeping the GUI uptodate
hi – been trying to find a good solution but get stuck with old suggestions. I am working on a fairly simply Qt 5.1 Desktop Application for myself and want to do the following: /* pseudo code */ 1....
View Article[solved] Qt Quick 2 performance issues
Hello, I started a new project in which I need to render Qml content on an WQHD display (2560 × 1440). And I’m still trying to get a pretty basic qml test to run fluently. But on the full resolution...
View Article[SOLVED] Close signal send to other class
Hello. I have two classes, QMainWindow and QDialog. Each class has separate GUI. In main function I first call QMainWindow (with gui), then after some operations I want to close this gui...
View ArticleOverlap window background on the resize window
Hi , I have created the Hoops widget on the QFrame container. I am facing problem that whenever i resize the window, the window background overlap over the hoops widget. i have used the following...
View Articleqmake, user variables, and conditions
Hi! Why this code isn’t work? ENA = YES message($${ENA}) contains($${ENA}, YES) { message("triggered") } In console I see only “YES” message. Thanks.
View ArticleDisplay Windows Touch Keyboard
i am writing an application for windows 8 with Qt and Qml. I want a touch keyboard appears when I set focus to a text input field, such as a search box. Things like textInput.openSoftwareInputPanel();...
View ArticleQt连接Qnx设备不正常
Qt版本5.2,在Tools>device>qnx设置时,我填入了正确的用户明和密码,显示连接也正常,但是读取系统系统版本时出现错误:sh : uname :command or file not found,但是我直接ssh进去uname是有这个命令的,然后下面在校验端口的时候出现错误: sh: printf : command or file not...
View ArticleQtCreator compile-install order for subdir projects
Hi, I have a simple subdirs projects like: TEMPLATE = subdirs CONFIG = ordered SUBDIRS = base SUBDIRS += depend Every project has a install path and I have added the make install...
View ArticleQt designer source code customization
Hi All, I am new here. I would like to customize Qt Designer to my own preferences. To do so, I would like to change the source code of Qt Designer. Or is there any other way to add some code into Qt...
View ArticleQt QML Signal slot
Hello all ! I am trying to emit a signal from Qt to QML file. I tried to implement it as shown below. But the slot_test in qml is not being called. Kindly help to fix it. void ProcessInfo::init() {...
View Article