Why Qt hangs?
When I create a thread with HANDLE thread = CreateThread(0, 0, (LPTHREAD_START_ROUTINE)MainWindow::newConntact(), NULL, 0, 0); the program hangs on ClientSocket = accept(ListenSocket, NULL, NULL); in...
View ArticlePerfomance problems with a subclassed QGraphicsView
Greetings! I have subclassed a QGraphicsView so that I can use it in QMainWindow::setCentralWidget() and add some custom implementations. Now, I am getting some performance problems: Flickering – the...
View Articleproblem regarding when the host is not listening and the client attempts to...
Hello everyone, Actually i am trying connect server and client tcpsocket and tcpserver class. In my program i have a refresh button, whenever the client clicks the button if the host is connected data...
View Article[solved] problem: Model::data() function never be called.
I created a UI interface based on QWidget by QtDesigner, inside the window, I put labels, buttons and a Tableview. The tablview is referenced by ui->Stepping view, I connect this view to the...
View ArticleQEventDispatcherWin32::unregisterTimer: invalid argument
Greetings! The title show the complete “warning” I get using QtC Here is the scenario: I have two classes inheriting a QObject-based class. Each class implements QObject::timerEvent() (I think this is...
View ArticleQGraphicsItems + QTouchEvents
Hi! Currently, I’m developing a basic application for painting on a tablet. I’m using the Qt Graphics Framework and everything works fine, except for one detail: I can’t catch events when I try to draw...
View Articlestand alone programs
Hi, I’m new to QtCreator. I want to make stand alone windows programs. I tried what the documentation says to do, but the final program will only run when ran under the creator. When I try to run it...
View ArticleSeeking Qt developers in Erlangen, Germany
Hi, we are seeking experienced C++/Qt developers for a large project to develop modern machine user interfaces. We are working with Qt 5.0 targeting Windows and Linux. Experience developing custom...
View ArticleCreate a plugin library of reusable QML files
Hello, I’m having a hard time finding any specific information about sharing QML files across multiple projects. Currently we have a Common QML project that just pulls qml files in as resources. This...
View ArticleDetect "Scrolled to bottom"
I have a GridView that contains a bunch of images. I would like to start loading more images as soon as the user scrolls to the bottom. How do you detect that the user has scrolled to the bottom?
View ArticleQt and Qt Creator installation ?
I’m trying to learn QT. However, with lots of trial I could do nothing about QT and QT Creator. When i run QT Creator, i can’t create a QT project. There are options like other,nonqt project.. Is there...
View ArticleBlackBerry Qt Gui Application
Hello, I have an app for Symbian (originally). Now works in Android (thanks to Qt Necessitas). My idea is port the app to BlackBerry 10. I installed the latest versions necessary: –...
View ArticleQWidgetTable filtering text only numbers using QLineEdit and QDoubleValidator
hi there, i have a a QTableWidget that have to handle only double values and i don’t know how to achieve it… i googled a lot and some confusing solutions found, i tried this one: if understood well...
View ArticleBeginner question about colouring the sceneRect()
Hello, I am very new to QT and have gotten stuck on what I assume should be a simple problem. I have a sceneRect() inside of which several object are animated. my code is something like this: scene =...
View ArticleQSqlRelationalTableModel with two ComboBox independent
hi all I have table(area charge) with is one table between area and charge, one area have many charges and one have charge belongs to one area,my objective is filter the QComboBox charge the select the...
View ArticleUnderstand Qt's g++ calls in QtCreator
In order to understand how Qt’s file should be link with my application, I created the default Hello Word program in QtCreator and started to analyse g++‘s calls. I understand everything except the...
View ArticleQML Beginner Questions
Hello! I develop a game and recently found QML very useful for logic, like QtScript is, but even further. So now I want to ask a few questions about things I couldn’t find in docs, but which are...
View ArticleCreate F1 key in tooltip (similar to qtcreator)
Hi, I have been searching for the past few days but I cannot figure out on how to do it. I would like to do reproduce a behavior similar to the newest qtcreator where a F1 hint is shown in tooltip and...
View ArticleDeploying QT application on ARM board SBC6845(SAM9G45 processor)
I want to deploy an application on the above target board. I checked the documentations related to it, and after reading I am pretty much confused about the procedure. Can anyone explain the necessary...
View ArticleСлоты в кастомном классе
Привет всем. Недавно столкнулся с проблемой, хотел написать класс загрузчика, но единственной проблемой оказалась привязка сигналов QNetworkReply к кастомному классу ( CDownloader ) который наследован...
View Article