Qt Creator 6.0.1 and lagging autocompletion - qt

Im using new Qt Creator version 6.0.1, but its autocompletion lags a lot. I set auto-completion timeout in ms to 0, but it didnt help. Any idea whats causing it? Some plugin?

It was ClangCodeModel plugin that was causing the lag :/

Related

QT Creator Drop Down menu empty

I have installed recently QT5 along with QT Creator 2.7.0 in my Ubuntu16 machine.
From the first moment I started to use QT Creator I noticed this problem, I can see correctly the menu bar with all the voices "File,Edit,Build,Debug,Analyze,Tools,Window,Help", my problem is that whenever I click on one of these menus the drop down menu is completely blank and doesn't display the all the options in it.
I am wondering if someone already had the same issue as me and what was the solution in your case.
Many thanks in advance to all for the help.
Attached an image that shows the problem described.
Please consider to upgrade to a more recent version. Qt Creator is at version 4.1 right now and 4.2 is close.
resolved installing from apt qtcreator (version 3.5.2) and qt5-default.

Will program run with newer version of Qt?

I have a program that I need to edit that was developed with Qt version 5.0.1. Will the program still work correctly if I just grab the newest version and edit the program with that? Or am I better off getting the old version from the Qt archive?
Qt 5 is not 100% compatible with previous versions, so probably you will have to make some migration stuff. This little transition guide is your friend!

Qt 5 and C++11 (qobjectdefs_impl.h won't compile)

NB: I have tried asking this question here (on the Qt Project forums), but to no avail for the moment, so I'm trying my luck here.
I’m using Qt 5.0.1 (on a laptop with Ubuntu 13.04), the compiler is gcc 4.7.3 (and I'm working with Qt Creator 2.7.0).
In order to have C++11 working, it seems that simply adding the following line to the .pro file of the project does the trick (or at least it's supposed to):
CONFIG += c++11
However, when I do that, I get a ton of errors in the file qobjectdefs_impl.h upon compilation.
Anyone know how to fix this problem? Thanks in advance!
Edit: Here is a screenshot so that you can see what the errors look like (apparently the errors happen when I do #include <QColor>):
NB: link to the image if it shows too small here.
Edit: I still have the errors after having upgraded to gcc 4.8.1 and Qt 5.1.2, which I compiled from the sources.
Yay, someone (JKSH) found what the problem was on Qt Project forums (here).
In short:
The problem was that I had written somewhere #define I complex(0.0, 1.0), which created a name clash in qobjectdefs_impl.h (where complex was a typedef for std::complex<double>). For some (weird) reason that didn’t cause any problems as long as I didn’t write CONFIG = c+11 in the pro file, but not it did after writing it.
Many thanks to JKSH, and also Greenflow for helping!
Edit: The credit for finding the issue should go to Thiago Macieira from the Qt Project Interest mailing list, see comment.

How to use fftw3 on Qt?

Im making an aplication for image filtering and Im sucesfully using the CImg.h library to help with the task, but as you might know the fft isn't for any image and I need to activate the use of the fftw3 library to overcome this. And I dont have any clues on how to do that (I'm super new with Qt), if it helps somehow to the explanation I was able to do that on ZinjaI but for this new aplication I had to move to Qt to get a more friendly GUI.
Im using Qt 5.0.2 (32 bits) / Qt creator 2.7.0 on windows with minGW.
Thanks a lot for taking the time to read it and any help would be greatly appreciated.
Extra: Not as important as the other but if I also can learn how to avoid having the cmd.exe windows poping in front of my GUI would be cool :) (I guess the CImg.h functions make it pop, but not sure)

QWebView which version of webkit supported?

I am new to Qt. What I understand is Qt is porting webview from webkit. [Correct me if i am wrong]. and I could not able to find which version of the webkit is ported into Qt 5.0 or higher version.
Kindly suggest me how to find?
It's running on WebKit2, which specific version is a bit more tricky to find out, but you should be able to look through the Qt repository on gitorious to determine it. If I remember rightly it changes depending on how you've built Qt5 and where from.
Seems to be a 3-4 months old snapshot, see the git repo for the included commits.

Resources