How to stylize checkable items in a QAbstractItemModel-based model?
Suppose a column inside a QAbstractItemModel-based model has the Qt::ItemIsUserCheckable flag of one of the columns set. If the model is set to a let’s say QTableView, the column displays the native...
View ArticleHow to enforce signals to behave as callback
Hi What I want to do is to emit signal as standard callback so that execution blocks until all slots are finished – otherwise it will break logic of my program (emitter depends on actions taken by...
View ArticleQPSQL Plugin on Windows
hi, i’m newbie. my system: win xp sp3, postgresql 9.2, qt 5.0.2 my problem: i used these instructions [qt-project.org] to bild my qpsql driver. everything went fine until here: cd...
View ArticleQSqlQueryModel, QSortFilterProxyModel, QTableView : show blank records after...
I’ve got one ‘master’ form displaying items(‘primary key’ + ‘description’) from a database table. It’s seems to work OK: —————————————— :private QTableView *tblView; QSqlQueryModel *sqlModel;...
View ArticleBuilding Windows apps on Ubuntu with QT Creator
I am coding an application that I would like to be cross platform, or at least I would like to be able to easliy build a version for both Linux and Windows (in future also for android). I am using QT...
View ArticleEXECUTİON WİTH RESPECT TO A FİLE..
Hi guys. I need a answer for this question. ‘What is the meaning of the execution respect to a file ? ‘ I didnt get about ‘respect to file’ if there is some definition about this topic thanks for...
View ArticleLogin System :
I’m using Qt creator and i’m trying to do a login system about the administrator of my database in MySql I dont now how to compare my values(name and password,which I have in a class called Admin) with...
View ArticleLinker Errors on QtWidgets & QtCore/qglobal.h">Switched to "iOS Simulator" Kit -> Linker Errors on QtWidgets & QtCore/qglobal.h
OS X 10.8 Creator 2.7.1 Qt 5.1 Beta I’m building qt-ios-demo: https://github.com/msorvig/qt-ios-demo It builds fine as an OS X app, and I had managed to run it in the simulator before I made some...
View Article[SOLVED]Win7-32bit Linker 2019 error
Hi everyone, I’m having a problem with a linker error. I can’t seem to figure out why. Everything looks right, but a clean/rebuild doesn’t fix the issue. I was wondering if you could look at line 46-55...
View ArticleMouse cursor visible on Android mobile 5.1.0 beta 1 build ?
!https://fbcdn-sphotos-f-a.akamaihd.net/hphotos-ak-frc3/382453_10151649473154393_1669963838_n.jpg How do I get rid of the mouse cursor ? It was not there before :S when I was building my project....
View ArticleQt5 arm build
Hello, I want to build qt5 for my embedded device. It is built in chrooted enviroment on host machine, but after succesfully building qt i am gettin ghost libraries in dependencies (libc.so.6(64BIT))...
View Article[Solved] Qt-Creator 2.7.0 or 2.7.1?
I am using Qt-Creator 2.6.2 and I want to install a new version which one do you recommend? 2.7.0 or 2.7.1? how about my Qt version. which is better? 5.0 or 5.1?
View ArticleDelete a row from SqlTableModel
Hi, I have a QSqlTableModel* sqlTableModel; In a function i have done sqlTableModel->removeRows(rowNumber,1); But when i print the number of rows in QSqlTableModel using...
View ArticleUpdating QListView from child dialog
Hi All, I am new to QT programming and this forum also. So please spare any misinterpretations. I have a main window application. when launched, the main application calls a function to search system...
View ArticleWhy i don’t see Qt 5.1 installer for Android on Windows (32x/64x) ?
Hello guys! Please make this important installler! It’s very important for me and many many other people!
View ArticleHow does a Qt desktop application on Mac OS receive and respond to...
For example, how can i select a word in QTextEdit by clicking the trackpad with three fingers ? Should I use cocoa API?
View ArticleScroll issue in Qlistview
Hi All, I am the beginner of Qt and this site also.Now my question is how to redirect event from one control to another. For ex. when ever i scrolling mouse in Qlabel want to scroll in QTextEdit...
View ArticleProgramming a simulation of a moving hand
Hi everybody, I’ve registered here since I’m having a few questions regarding an university project. The goal is to display a virtual hand on the screen which is movable via a motion tracking device. I...
View ArticleProblem with Qt5 on pi while applying the qtjsbackend patch
Hi, I followed steps to build qt5 for raspberry pi as per http://qt-project.org/wiki/RaspberryPi_Beginners_guide But while applying qtjsbackend patch (git cherry-pick FETCH_HEAD), i am getting bellow...
View ArticleSQL Record ID changes after submitAll
I’m trying to write some Python code to simply create a record in an SQL database (sqlite backend), and then get the newly created record. Code is called from within an QSqlTableModel. The odd thing is...
View Article