I have set my application to debug mode, even so the breakpoints is not working. I am using Qt Creator on Linux
I have fixed the issue, I didn't install the GDB Debugger.
a quick pacman -S gdb solved the issue
Related
Qt 5.11. Mac OS X.
I'm trying to write automatic build script for Jenkins. Target platform: Android armv7.
androiddeployqt says me that it cannot find ant in PATH.
Yes, I did not install Ant.
But, it works somehow with Qt Creator. Qt Creator can build APK. Why so? It uses the same androiddeployqt, doesn't?
Do I really need to install ant (while Qt Creator does not need it)?
Qt Creator uses undocumented --gradle option. Add it to your command.
I ran ./configure with -static -static-runtime -target xp. Unfortuantely my application does not run when I use QMediaPlayer on Windows XP. There is a missing reference to MF.dll which aborts the program start with a critical error message.
Pretty much this bug: https://bugreports.qt.io/browse/QTBUG-42460
Does anyone has figured out how to clean the reference to MF.dll? My guess was -no-wmf-backend, but the person who reported the bug said it's not enough. Before I recompile another 8 hours, I would like to have some clarification, thank you.
In config.tests before building Qt and running configure, there is a file called evr. Let it fail to avoid MF.dll dependency on Windows XP. QMediaPlayer will just work fine then.
Last time I used Qt Creator, it was still using gdb (not lldb) and it's working just fine before upgrading to El Capitan.
Has anybody managed to debug using Qt Creator 3.4.2 and Qt 5.5.0 on El Capitan?
Can someone please give me any pointers of how to set it up correctly since mine does not even stop at breakpoint?
I had the same issue and clicking on Enable QML in the Debugger Settings (from Projects > Execution parameters) seems to make the breaking points work again.
I ignore why and it complains about not being able to connect to the QML debug process after the end of the debugging session, but at least the breaking points work now.
I also have lldb and not gdb.
QT5.6.2 with macOS 10.11.6, after a totally reinstall I finally solved it, my solution:
in terminal,brew uninstal qt(maybe this is the problem)
run MaintenanceTool.app,see Uninstall and Reinstall QtSDK on Mac system
reboot
reinstall Qt
This is just a blind guess, i had the same problem. I solved it with the following configuration the .pro:
CONFIG -= app_bundle
Looks like debugging doesn't work inside a bundle.
I have source code folder of Qt 5.1.0 and also 4.8.4. The thing is that when I put command:
configure -static -release -no-exeptions the text of help screen only flashes and nothing else happens. What's the problem?
Please, help me ASAP.
Qt 5.1 is released as an SDK. Additionally, you can install and use the 4.8.4 library - which I currently use. Is there a reason you need to build from source?
I installed the qt debug and release libraries and qt creator.
I can't make it build because of qmake. How can i make qt creator know of qmake?
I went to Preferences->Build&Run and click Add but I can't select anything, not even qmake after I find it.
I have qmake, I can run it from the command line but I can't make the QtCreator know about it.
Please help me, I feel like I'm gonna blow up.
Thanks
What I did was browse a file in /usr/bin (which is hidden in Mac OS X) which set the default folder that comes out in the file explorer to /usr/bin. Then I browsed for qmake which drove me in /usr/bin so i can select qmake. That's a workaround however.
On qt creator 4.1.0, open the Build&Run Preferences.
Under Qt Version click "Add" and hit:
Command + shift + G
and then type: /usr/local/bin (or whereever your qmake is: find qmake)
In order to see the new qt version in Kits you need to hit OK and re-open the Preferences window
I use Mac version 10.11.6 and it worked for me.
I believe it's an ownership issue. Try chown on /usr/bin/qmake and re-try Adding to Qt Versions.