Qt 5.0.1 QWebView. Проблема с отображением JPG
Есть приложение с qtWebKit на Win. На девелоперской машине все работает целиком. Но на чистой XP и 7 не отображаются jpg’и. Папка /imageformats с плагинами лежит в директории с программой. vcredist на...
View ArticleQCheckBox background color?
How to change the background color of the box/frame (default white ) in QCheckBox. I tried to use stylesheets by setting the background-color but it changes the label’s background color. Am I missing...
View ArticleQT5 and tslib
I have successfully built and run a QtQuick 1 application on my hardware. The problem is that I cannot get the touch screen to work. I have built the tslib plugin (with debug code enabled). When I run...
View ArticleQProcess::terminate can not stop Windows console application with...
I try to control Windows non-Qt console application from Qt desktop application. Qt documentation says, that on Windows QProcess::terminate posts WM_CLOSE message. MSDN says that WM_CLOSE message is...
View Articleprogram data locations
Hi I am developing a desktop application and need to find somewhere to store persistent data. This data needs to be shared with all users of the pc upon which the application is stored. I have looked...
View ArticleHow to set the backgroud color & font colr for LineEdit ToolTip
Hi How to set the backgroud color & font colr for LineEdit ToolTip? I tried like this lineEdit->setCursorPosition(nPos); QToolTip::showText(lineEdit->mapToGlobal(QPoint()), “HI”);...
View ArticleControlling the margin/Padding in a QGridLayout
Hi all, I am trying to stack a bunch of Toolbuttons inside a Widget so I can insert the widget in a toolbar.But I am getting margins or paddings that are not desired.I have tried setMargin on the...
View ArticleQHostAddress, documentation clear() != setAddress("0.0.0.0")
In documentation says: void QHostAddress::clear() Sets the host address to 0.0.0.0. but in real code: QHostAddress addrFoo, addrBar; addrFoo.clear(); ...
View Articlevideo tag handler in qt webkit
Where is video tag in HTML5 being handled in qt 4.8 webkit(version 2.2)?
View ArticleC++ Qt BlackBerry App Developer
PixelMags C++ Blackberry Programmer Job description Our Company: PixelMags is a dynamic and evolving company delivering digital publishing to mobile devices. Our software development studios are...
View Article[SOLVED] PyQt button with an image on it
I’m making a button that sends an email, it’s all working, but I want to change the size of the button and put an image on it, what lines would I add to my code and where? =] from PyQt4 import QtGui,...
View ArticleThe problem with exception handle in QML 2 plugin
Hi everyone! I have the QML 2 plugin with method which crashed. I try to add the try..catch block for method but the catch section not called when method generating exception this is how to look my...
View ArticleNot seeing Graphics Scene Hover events
I have an app that uses a Graphics Scene and I want to use hover events to report info about the objects in the scene. I can enable hover events on the scene items that are direct parents of the scene...
View ArticleShow html tags in tableview
Hi, May i know how can i display html tags in a tableview. For example: I have an entry in my database <a href=“goo”>hello</a>.. When i get values from the database and put...
View ArticleBuild on Mac OS X 10.8 for targets >= 10.6 (Snow Leopard)
Hello, I want to build my Qt application on Mac OS X 10.8. However, I want my application to run on Mac OS X 10.6 (Snow Leopard) or higher. My .pro file contains the lines QMAKE_CXXFLAGS_X86_64 +=...
View ArticleQApplication::focusWidget() and QApplication::focusObject()
What’s the difference other than the return type? In addition, in my app the focusWidget() is returning 0 and focusObject() is returning an object to QML textinput. How can that be that both are not...
View ArticleLinux Audio Mess and Qt
Everyone who had to deal with audio in Linux knows that it is a real mess. Now it seems that this mess has infected Qt Audio module on Linux. I work on an audio player based on libsndfile and QT Audio....
View ArticleHelp using Graphics Scene "rubber-band" selection...
I have a Scene that I can export as an SVG file fairly happily… but a feature I would like to include is to rubber-band select a region and export that – and the export is clipped to that region. Is...
View ArticleQWebView. How to make a simple POST request.
Hello! I tried to make a simple POST request using QWebView, but my PHP side saying that it is a GET :( My QT code: ui->mainWebViewInfoWnd-> ...
View ArticleQt::MatchWildcard issue
Hello everyone, I am trying to find a match for a particular string with a wildcard character in a QTree , but the values that I find are not what I would expect. For example, I am looking for ‘_A’,...
View Article