Overwrite the CSS style of a web page element
Hi, With Qt 4.8, I used to rely on the “@import” statement to import a CSS file into another, but for some (very annoying) reason it doesn’t work anymore in Qt 5 (see...
View ArticleLocalization cycle issue
I’ve developed an application using Qt 4.7, and as a worldwide target application, I’m using the provided tools to localize & internationalize the application. The cycle is: 1.- code 2.-...
View ArticleHigh CPU usage when the view is not shown
Here’s a very simple QML code: import QtQuick 2.0 Rectangle { ColorAnimation on color { loops: Animation.Infinite; from: "white"; to: "black";...
View ArticleHide source of HTML5 applications?
Hi, I just tried compiled the basic HTML5 application to try it out, but on Mac I can just click ‘Show Package Contents’ to get the HTML source code. As I want to develop a closed source application,...
View ArticleProblem was creating a portable PySide
Hello Everyone, I am developing a module for salome-platform. This module application is coming together with all needed libraries and its modules are working with these (built-in) libarires. Also...
View Articleاشکال در QSplitter
دوستان سلام . به یک اشکال در QSplitter برخوردم . در پایین یک نمونه از اشکال رو قرار دادم که دوتا QSplitter تو پنجره قرار دادم و در هر کدام دو تا QPushButton قرار دادم یکی از QSplitter ها راست به چپ و...
View ArticleHow to reload QML file with ApplicationWindow object?
Hi guys, I develop application with QML Desktop Component and can’t understand how to refresh main window from QML or C++ code. I created a class which created a main window by code bool...
View ArticleCorrect style aware custom widgets don´t get the style applied anyway
It always worked until now. I don´t know what’s going on but i got this code of a QPushButton customized: class SmartModeButton : public QPushButton { private: public: ...
View ArticleCmake and Qt library paths
Hi I have Qt project that i would like to compile with cmake. When compiling it gives the following error. make2: *** No rule to make target `/usr/lib/libQtXml.so’ libQtXml.so is available in the...
View ArticleScrolling QGraphicsView
Hi, I have such problem: on custom QGraphicsView I add QGraphicsScene and put to the screen multiple custom items such that I expect my QGraphicsView scolls to see all the items, but they does not. I...
View ArticleQWidgetWindow as QObject in event filter with Qt5
Hello, in Qt4 I was using event filtering for whole QApplication by calling application->installEventFilter(this) supposing “this” has implemented function bool eventFilter(QObject * o, QEvent *...
View ArticleCannot compile QtExamples Such as "Grabber Example" in OSX Lion 10.8.2
I installed XCode on my MAC and Qt creator 2.6 based on QT 5. I Open the example project “Grabber Example”, and when I compiled it I got 2337 errors/issues most of the errors are related to opengl...
View ArticleHow fix a window on screen(not draggable)
Hello experts, I am opening a small window on my main window. For these I am using below code :- objCheckLicense = new CheckLicense(this); ...
View ArticleServer repository is down ?!!
Hello I am trying to deploy to the RaspberryPi. I have added either “deb http://archive.qmh-project.org/rpi/debian/ unstable main” or “deb http://archive.qmh-project.org/rpi-wheezy/debian unstable...
View ArticleBeginner: Some Questions to Experts
Hi, I have been taking quite a bit of interest in programming these days. My main motivation has been the Nokia N9 and the development of its quality apps inspite of being called a ‘dead platform’. It...
View Articleradio button question
hi everybody . i want to QActions like radiobutton . i know i can use with QAction::setCheckable likes QCheckBox but i dont know how can i use like radio button. tnx alot
View ArticlemyWindow.exe exited with code -1073741819
Hi all, I am trying to use a QListwidget so that when I click on it ,the text in the items changes accordingly.The header code is as follows #include <QWidget> #include...
View ArticlePackaging a Qt project
Hi I want to add some targets to my Makefile to make deployment easier. First I would like to be able to make source tarball and a deployment file hierarchy containing all things needed to install on...
View ArticleDoes reparented widgets get drawn when parent is redrawn?
Hi to everybody! :) I have the following situation: a Manager [QMainWindow] has a Tracker [QWidget] as its centralWidget and it has a layout with several Camera [QWidget and QRunnable] implementing the...
View ArticleQt 5 - How to create a frameless window?
Hi, is there any example out there or do you propably know how to create a frameless window in Qt5? The old way (as shown below) doesn’t work. myView->setWindowFlags(Qt::FramelessWindowHint) the...
View Article