Bug no meu Layout
Boa noite a todos! Estou desenvolvendo uma aplicação gráfica com Qt/C++ e estou refatorando todo o projeto pra otimizar o código e facilitar minha vida futuramente. O problema que estou tendo é,...
View Articlelink C# DLL to Qt Project
I got only a C# .dll file that I want to use on a Qt Project. Is there any sample for doing it?
View ArticleQFile not being recognized
Hey everybody! I’m using QFile to manipulate with files but somehow QFile does not seem to be recognized by Qt. I can’t figure out why. Please help me. My code is QFile mFile(fileName);...
View ArticleWhere are the Qt4.8 include and library locations under Mac OS X?
Hi, I am trying to compile gwenhywfar, but I get the following errors: checking for qt4 includes... not found checking for qt4 libraries... not found Where are the right file locations for includes and...
View Article[QTWebkit] Hide the scroll bar not works
Hi all, Recently, I want to hide the scroll bar in webkit, then I use currentTab()->page()->mainFrame()->setScrollBarPolicy(Qt::Vertical,Qt:crollBarAlwaysOff); The scroll bar...
View ArticlePainting issues with QT5
Hello, While porting my app in Qt5, i have several problems with the call of the method paint in QGraphicsItem by example. Example : i have a QGraphicsItem which works as a button. I catch the signal...
View ArticleWhy does mapToItem return a QVariantMap instead of QPoint?
An inconvenience I stumbled upon – it is not possible to assign the result of mapToItem to a point property. That just doesn’t seem like a very good design intent. Instead of: p = mapToItem(null,...
View ArticleQML2 application shows no content if it runs outside Qt Creator. QM1...
Hello, I created a new QML1 application and a new QML1 application with the wizard and made a release build with VC and mingw. Then I copied the needed files from to the release folder to get it...
View ArticleProcess is not killing if started using QProcess::startDetached()
I am executing one qt process using QProcess::startDetached() from my Qt application. New process is starting successfully, but when I wanted to kill this process using QProcess::kill() OR Terminate()...
View ArticleBroken DBus in Qt 5.0.1
I’ve build 5.0.0 with many problems. All these problems seems to be fixed in 5.0.1. Specially webkit compiles with no need to apply any patch, or trick; which is very pleasant. Unfortunately in the new...
View Article[SEARCH] Poppler 0.22 MSVC binaries
Hello, has anyone statically or shared compiled poppler binaries for MSVC and would like to share them(with dependencies)?
View Articledrag and drop in QTreeWidget. How to ?
I’ve got QTreeWidget base class with it’s member QTreeWidgetItem * m_draggedItem I reimplement some of base methods: void GroupTreeWidget::mousePressEvent(QMouseEvent * event) { ...
View ArticleThe Extension Example With PyQt4
what is the effect of leftLayout.addStretch(1) in this code example ? it seems that this program works the same even though leftLayout.addStretch(1) is commented . from PyQt4 import QtCore, QtGui...
View ArticleQWebPage setContent -> don't load images
Hello, I have a problem with the function “setContent”. I want to create a HTML page from different html files: if(listnews.isEmpty()) { ...
View ArticleAccess dynamic created ListModel elements from C++!
Hi all, how I can access from within C++ the elements of a ListModel? I write a application with a ListView. The content is set by an ListModel which is set dynamically during runtime. This is...
View Articleproblem of making a Timer with QLCDNumber
the following code just makes a Timer with QLCDNumber what I want to do is to show a message dialog when 4s has elapsed since the startup of this program .however when the message dialog pops up , the...
View Articlemultiple QMediaPlayer objects : setVolume affects others
Hello, in my applications i have 2 QMediaPlayer objects and i wanted to do a fade between them. But i just realized that if i change the volume of the first object, then the volume of the second object...
View Article[SOLVED] need for help... "Driver not loaded Driver not loaded"
Hi, we have a project that requires our program to be run via networks. When I run the program in this laptop, it runs fine without errors. But when another computer tried to run the program, the...
View ArticleQt5 QSoundEffect Not Working
In Qt5 the QtSoundEffect class does not play any sound, nor does it give any error messages. This occurs on both Windows 7 and Mac. It also does not matter if you try to use SoundEffect through C++ or...
View ArticleQt5 QML Video and MediaPlayer Share Audio?
I have found the audio that plays on the Video element and audio that is played by MediaPlayer appear to be sharing properties, as if this audio is statically shared across both element types (at least...
View Article