QFont setFixedPitch works in Qt 4.8, not in 5.0
I am using QFont’s setFixedPitch in various places in my code in Qt 4.8, and it works perfectly. All the characters including letters, numbers, and blanks line up in perfect columns. But in Qt5.0, the...
View ArticleNeed Help for tabs in title bar
Hi, I am developing document reader for my college final year project using QT 4.8.4. I want to implement tabs in tile bar ui (like chrome) in cross platform manner. I tried many things but not able to...
View ArticleMultiple data in different columns
I have a QListWidget and am trying to put data into two different columns, for example: QTreeWidgetItem *ItemId = new...
View ArticleQGraphicsScenes move
Hi, I have two QGraphicsViews with two QGraphicsScenes up down,and they zoom in same size with the same attributes. [Turn on QGraphicsView::ScrollHandDrag ,disables scrolls with...
View ArticleWhat am i doing wrong with QFile::rename?
Qstring oldName = (”/home/myusername/Desktop/11.txt”); Qstring newName = (”/home/myusername/Desktop/22.txt”); bool QFile::rename ( const QString & oldName, const QString & newName );...
View ArticleHow to make desktop app with logic in C++ and gui in Qt Quick/QML?
Hello, in next week I want to familiar with Qt 5. Currently I’m working on Qt 4.7 and I don’t use Qt Quick. I think about to try make application for desktop which logic will be written in C++ and gui...
View ArticleWindow
i am making a application like notepad in menu bar there is file , edit and etc . ******But when i click Alt+F it is not opening File menu.Please Solve This Problem********** Thank you.
View ArticleQtCreatorでMySQLを使用する方法
Qtを使ってMySQLにアクセスしようとしています。 開発環境:Windows7 統合開発環境:QtCreator4.8.4 コンパイラ:minGW .proファイルに下記の様にMySWQLのINCLUDEPATHを追加しました。 INCLUDEPATH += C:\Program Files\MySQL\MySQL Server 5.5\include...
View ArticleAdd and remove a QIntValidator on a QSpinBox
Greetings. I wanted to know if it is possible to add and remove a QIntValidator on a QSpinBox. I know the function ‘setValidator ()’, but I’m not sure that can be used with a QSpinBox. Moreover, just...
View Articleundefined reference to QBasicAtomicInt
I can compile my Qt project in Terminal bash but I’m having problems compiling with Qt Creator. here are some issue I’ve encounter: make: Entering directory `/home/esn/SQSP/qespta’ g++...
View ArticleQtCreator:How to write MySQl IncludePath on *.pro file?
I’m Japanese student. And now, I’m tring to connect MySQL server. I use Windows7 64bit, Qt 4.8.3(32bit) Qt Creator2.6.1 MySQL 5.5.29. Qt creator use minGW. So, I tryed write ↓ to “*.pro” files....
View ArticleHow to create multiple windows in separated threads using Qt?
Hello I want to open multiple windows using multithread with one window one thread on single click. Please solve this. Thanks Zain
View Articlehow can i use Lua in MacOS X with creator?????
i meet a problem with using lua in creator. i have already complier lua source code with command line: make macosx install. i have get files below: /usr/local/bin/lua /usr/local/bin/luac...
View Article_Unwind_Resume error in Qt 4.8, MinGW 4.4.1
Hi, I just upgraded from Qt 4.7 to 4.8 (Creator 2.6.1), and now I can’t even compile “Hello World.” If anyone would be willing to skim through the compiler errors, I’d be very grateful. I’ve spent...
View ArticleSuperimpose Qwidget background on QMainWindow background
I have a mainwindow with a Qwidget as the central widget, which in turn consists of serveral widgets. Both the mainwindow and the central widget have a a background image but I’m not able to...
View ArticleTwo different handler for same ready read signal in seral communication.
I am working with USB port as well as D-sub port(both are serial ports) at a time. Does anybody knows how to make two handler for same ready read signal in serial communication? May be identifying the...
View ArticleIntroduction - Hello
I just signed up at this forum and decided to post an Introduction thread. I’m new at real programming and was recommended to give QT a try by the folks at LinuxMint. So, here I am. As a graduate...
View ArticleQAbstractProxyModel has broken semantics or misused?
The story is that I am writing a model that represents SQL-table as a tree. Consider the following table definition: CREATE TABLE IF NOT EXISTS document ( id INTEGER PRIMARY KEY...
View ArticleQueries on different Qt frameworks - Qt X11 (4 series), Qtopia, QtMobility, Qt5
Hi, I am new to Qt programming. I have been reading some materials on net and the excellent documentation that you have in your site. I have a software ( an Automotive IVI demo on PC using Qt 4.7.0 on...
View ArticleQtHelp Is Now Supported By Helpinator
Hello, everybody! My name is Dmitri Popov, I represent Major Mind Software, authors of Helpinator Help Authoring Tool. As you might know Qt framework has built-in help system called QtHelp designed for...
View Article