Originally posted by nvanevski
1. How can i change the default compiler for QMake projects in KDevelop? I want to test my apps with Intel compiler so I need to use icc instead of gcc. I found the "CC=gcc" setting in the main makefile, but that is regenerated every time I build the project. Is there a place where I can put that setting "forever" ?
set environment variable QMAKESPEC
if QMAKESPEC if not defined, it uses the platform's standard compiler
Check $QTDIR/mkspecs for available options (hint: linux-icc)
2. When I try to put a KDE widget (i.e. KUrlLabel) on a form using QDesigner, everything compiles (with -lkdeui) but when I activate that form, program crashes with segmentation fault . What am I doing wrong?
Some KDE Widgets depend on certain KDE internals to be present in an application.
Usually this can be solved by using KApplication instead of QApplication
Cheers,
_