desallocate a QStandardItem [SOLVED]
Hello, I would like to desallocate a QStandardItem but it doesn’t work. This is my code: QStandardItem *qsItem = new...
View Articleadd rows and columns in tablewidget
i have a Qtablewidget in forms and i want to add data dynamically in the rows and columns.i have a timer and i am incrementing value of a variable after every 1 second. so i want that after everyone...
View ArticleProblem with .ui file
hi… I am coming with silly problem but it is irritated me from 2hours. In Qt creator, I am open the project which is already exist one or new one it’s fine but when I click on .ui file total QT creator...
View ArticleQt application from one PC to another PC
i used Qt 4.8.4 и vs2010 with Qt Addon for msvc 2010 , MS Win7. On my computer my program works nice. Now i want use my program on another computer. according to list dlls generated by Dependency...
View ArticleSpeeding up compile time with mingw on win7 QT 4.8
As my project is growing, the compile time is also growing. I’m using jom and have verified that all cores are being used. However, CPU usage remains low…..it may spike to around 40 , but most of the...
View ArticleQRegExp wrong works
Hello all, I have a regexp "[^\\d]+([^\\n]+)" an input string Someword 1234 output omeword 1234 I wanna skip string before first number and get all rest, but it dont work What’s...
View ArticleEmbedded ARM => Remote debugging
I have a QT application that runs on an ARM processor. And I want to debug remotely using gdbserver with the integrated tools in QtCreator (on X86 dev machine). This works partly. It’s possible to...
View ArticleIs there was crash of this forum?
Hi! Has anyone noticed that post which earlier was read now become unread again? I noticed posts from 14-15 may and yesterday.
View ArticleQT访问access中文乱码的问题
QTextCodec::setCodecForTr(QTextCodec::codecForName(“gb18030”)); QTextCodec::setCodecForCStrings(QTextCodec::codecForName(“gb18030”)); QTextCodec::setCodecForLocale(QTextCodec::codecForName(“gb18030”));...
View ArticleSave image from qml
I am using snippet from this link http://qt-project.org/forums/viewthread/3948 It works very well in Qt 4.7 . Now I am using Qt 5.0.1 . I changed qdeclarative view to qquick view no other changes are...
View ArticlePopulate QTreeView from database tables
Hi, I am relatively new to Qt (I use PyQt). I would appreciate your help regarding the following design problem. I have to develop a treeview which would have 4 levels (For example,...
View ArticleUsing Qt SCript Debugger
Hello! I am having some trouble to figure out how to use the Debugger features. Currently I am importing some extensions by using the “importExtension” named with underscored notation init.js Now in...
View Articleسوالی پیرامون قرار دادن دی ال ال فلش پلیر
سلام در اینجا بنده سوالی رو پرسیدم ولی کسی جوابی نداده : http://qt-project.org/forums/viewthread/28414/ آقا با توجه به این لینک : http://qt-project.org/forums/viewthread/12496/ فرد اومده و یه فایل dll...
View ArticleQt webView issues in Qt 5
Hello, I got 3 issues when I’m trying to put QWebView in mainwindow.ui. I recorded this so you can view whats going on: My issues recorded [youtube.com] NOTE: Sorry for low sound,my microphone is broken.
View ArticleTransition onRunningChanged only call new.state for specific State name
I’m using the code below for an animation of a specific mousearea. When the mousearea is clicked the animated is fired and when completed the state1 is called. This works fine but I also have a back...
View ArticleProject Design Help
Hi, I am currently about to start a fairly large project in Qt that will contain multiple executable’s communicating with one another. My first though in how to design the project is to create a...
View Articlehiding a button on click of another button where both in differnt classes
i have pushbutton in forms created in base class mainwidow .now i have created one widget on the same form by drag and drop and again i created a pushbutton on the class widget.now i want that on the...
View ArticleHow to get to work c++ qml extension.
Hello! The issue goes during porting my plugin to 4.8.h to 5.0.2. Utility qmlplugindump.exe gives me errors, but not correct types file. So i`l try to create empty plugin from QtCreator templates. So,...
View ArticleHow to set stylesheet for a single item in the Qlistview?
I have a QListView containing QStandardItems . How to set stylesheet for a single item in the Qlistview based on the QModelIndex acquired?
View ArticleQtQuick 2 laggy?
Hello, I’ve tried the new qt 5.1 beta opengl msvs2012 together with the new desktop controls (I’m running on Windows 7 ×64). When I run the “gallery” example under quick/controls I think its quite...
View Article