I'm getting this in my application output and can't figure out the problem. My code, which is in a subclass of QTableView, with model() returning a QSortFilterProxyModel:
const QSortFilterProxyModel *proxy = dynamic_cast<const QSortFilterProxyModel*>(model());
QModelIndex proxy_index2 = proxy->index(row, column, QModelIndex());
Q...
Hello!
I'm scratching my head on how to accomplish the following task: I need to write a simple web forms filler/submitter with QT C++, it does the following:
1) Loads page url
2) Fills in form fields
3) Submits the form
Sounds easy, but I'm a web developer and can't find the way how to make QT accomplish the task, I only managed to l...
Im using Qt4 and c++ for making some programs in computer graphics. I need to be able to print some varaibles in my console in runtime, not debugging, but cout doesnt seem to work even if I add the libraries. Is there a way to do this? can some one help me?
...
I'm curious if anyone else has a good recommendation for a Qt friendly toolchain.
We're currently evaluating using The following:
Bug/Issue Tracking - Atlassian JIRA (already in use)
IDE - Qt Creator (already in use)
Code Coverage - gcov (are there easy ways to integrate this into the dev/CI environment?)
Unit Testing - QTestLib and B...
Hello
I'm building an Qt application which, amongst other things displays products of a store. The products are stored in a MySQL database, which is queried by php functions. The PHP function returns an XML of the contents of table.
So, I've been looking for a while, but I can't find an elegant soulution for my problem.
What I need is:
1...
We are building a new vision inspection system application. The actual inspection system needs to be c++ for a number of reasons. For that system we will be using Boost & Qt.
For our UI, we are currently looking at using WPF/C# for the UI and SQL based reports. The complicating factor that UI has to run both local on the same box as ...
I can't seem to find any info about this. but a lot of kde apps use animated icons.
As i know it setting as QIcon a gif won't work, as only first frame will be displayed.
...
when I add CSerialPort files(SerialPort.h, SerialPort.cpp) into my QMake project, and compile it, IDE(vc2008) throw lots of errors, How could I deal with it?
I installed vc2008, qt4.6 for windows visualstudio, and visualstudio plugin for Qt, and CSerialPort works right in normal MFC projects.
I know there is a QextSerialPort, but it i...
Greetings all,
Is there any widget to separate two QWidgets and also give full focus to a one widget.
As shown in following figure ?
Thanks in advance,
umanga
...
I can't seem to get an html video tag to play in QtWebkit. It shows up as a blue square with a question mark, like an unsupported plugin. Flash videos play fine, and HTML5 canvas works great.
Specs:
OS: Windows 7
Qt: 4.6.3 (installed from the qt creator 2.0.1 from nokia's site)
PySide: 0.4 (latest)
QtWebit configuration (I tried all...
Hello,
I am having an issue compiling the source of QT framework version 4.1.4. (see the attached picture for exact compiler error text)
I am using this source of QT (http://get.qt.nokia.com/qt/source/qt-win-opensource-src-4.1.4.zip)
and i m using MinGw (latest from here http://sourceforge.net/projects/mingw/files/) which has GCC ver...
There is QtBrowserPlugin which contains QWebView that load a page that contains other plugin.
(opera
(some_page
(my_qtbrowser_plugin
(QWebView
(some_other_page
(some_other_plugin))))))
Why after loading a page which loads or attempts to load some other plugin it stops di...
Hi, I have got a problem with my QProgressBar and I hope someone got an idea...
I have created a progress dialog with a QProgressBar on my own. I set minimum and maximum steps to 0 so that the progress indicates my program is busy (the animation thing...).
I show() this progress dialog and activated the Qt::WindowModal for this dialog....
I have a modal QDialog, that on the click of a button slides a modeless child QDialog out from underneath it. The problem I have is that the child stays on top of its parent during the animation.
I think I could get away with applying a mask over the portion of the child that overlaps the parent, but it feels like I'm missing a more obv...
I'm trying to implement accessibility for my Qt application. I'm using NVDA (http://www.nvda-project.org/) and Freedom Scientific's JAWS (http://www.freedomscientific.com/products/fs/jaws-product-page.asp) as the screen readers I want to support.
I'm assigning the widget's accessibleName and accessibleDescription properties (http://doc....
Hi.
I have a list of actions on a menu in PyQt, one for each different feed I want to display. So I have a Y that sets the active feed to Y, Z sets it to Z, etc. (For a webcomic reading program).
I have each on the menu, and felt that an automated approach might be better; rather than typing out each time. Something like a function tha...
QT4, QTCreator
I am trying to draw inside Widget:
void Widget::on_pushButton_clicked()
{
QPainter painter;
painter.begin(ui->label);
QRectF rectangle(10.0, 20.0, 80.0, 60.0);
int startAngle = 30 * 16;
int spanAngle = 120 * 16;
painter.drawArc(rectangle, startAngle, spanAngle);
painter.end();
}
But wh...
I have a program that I built for RHEL5 32 bit and ubuntu10 64 bit (c++ qt4.6). When I run the program on ubuntu, all the variables are initialized without me needing to code this initialization. But When I run the program on RHEL, some of the variables are not initialized, I have noticed that they are mostly integer type and the typic...
Running build steps for project googlechat...
Starting: c:/qt/4.7.0/bin/qmake.exe C:/NokiaQtSDK/Examples/4.6/webkit/googlechat/googlechat.pro -r -spec symbian-abld
WARNING: c:\NokiaQtSDK\Examples\4.6\webkit\googlechat\googlechat.pro:15: Unable to find file for inclusion \examples\symbianpkgrules.pri
Exited with code 0.
Starting: C:/No...
I meet the same error with Qt 4.6.2 & Symbian^3 SDK v0.8.
The problem happens when I execute the command "bldmake bldfiles"
BLDMAKE ERROR: Can't find any RVCT installation.
I am porting a existing Qt project(S60v5), which was developed using SDK Nokia_N97_SDK_v0.8.
There is no error when I using the Nokia_N97_SDK_v0.8 SDK to build th...