[Qt-creator] Q<Typename> underlined in Qt Creator

Markus Franke Franke.M at sebakmt.com
Thu Mar 10 14:17:37 CET 2011


I tracked down the problem to the directory "mkspecs/qws". As already 
mentioned in a posting above I crosscompiled this Qt build using configure 
switch "-xplatform qws/linux-panelcard-g++". 

Therefore I added a directory "mkspecs/qws/linux-panelcard-g++" to my Qt 
directory. The symbolic link "mkspecs/default" points to 
"qws/linux-panelcard-g++". If I let this link point to "linux-g++" the Qt 
installation gets detected properly again in Qt Creator. So I think there 
must be some problems with the files below "qws/linux-panelcard-g++".

The qmake.conf and qplatformdefs.h files look as follows:

qmake.conf
---snip---
#
# qmake configuration for building with arm-linux-gnueabi-g++
#

include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)

# modifications to g++.conf
QMAKE_CC                = arm-linux-gnueabi-gcc
QMAKE_CXX               = arm-linux-gnueabi-g++
QMAKE_CFLAGS            += -I 
/opt/crosstool/arm-linux-gnueabi/include/c++/4.1.2/ -I 
/opt/crosstool/arm-linux-gnueabi/include/c++/4.1.2/arm-linux-gnueabi
QMAKE_CXXFLAGS          += -I 
/opt/crosstool/arm-linux-gnueabi/include/c++/4.1.2/ -I 
/opt/crosstool/arm-linux-gnueabi/include/c++/4.1.2/arm-linux-gnueabi
QMAKE_LINK              = arm-linux-gnueabi-g++
QMAKE_LINK_SHLIB        = arm-linux-gnueabi-g++

# modifications to linux.conf
QMAKE_AR                = arm-linux-gnueabi-ar cqs
QMAKE_OBJCOPY           = arm-linux-gnueabi-objcopy
QMAKE_STRIP             = arm-linux-gnueabi-strip

load(qt_config)
---snap---

qplatformdefs.h
---snip---
#include "../../linux-g++/qplatformdefs.h"
---snap---

Do these information maybe help to track down the problem?

Best regards,
Markus Franke

Btw.: Even if I copy the files from "mkspecs/linux-g++" to 
"qws/mkspecs/linux-panelcard-g++" Qt Creator still is not able to detect 
the Qt version. I think it has something to do that the files are inside 
the "qws" directory.


qt-creator-bounces+franke.m=sebakmt.com at qt.nokia.com schrieb am 09.03.2011 
13:08:59:

> 
> Dear all, 
> 
> Qt Creator doesn't show local variables when debugging an application 
> based on Qt Everywhere 4.6.3 X11. 
> I can only see pointers to "this" and the "parent" object in the local 
> variable window. 
> 
> My platform ist Qt Everywhere 4.6.3 on X11 with Qt Creator 2.0.1. 
> 
> Any comment on this? 
> 
> Best regards, 
> Markus Franke
> 
> 
> 
> "Disclaimer: This message is intended only for the use of the individual 

> or entity to
> which it is addressed and may contain information which is privileged, 
> confidential, proprietary,
> or exempt from disclosure under applicable law. If you are not the 
> intended recipient or the person
> responsible for delivering the message to the intended recipient, you 
are
> strictly prohibited from
> disclosing, distributing, copying, or in any way using this message. If 
> you have received this 
> communication in error, please notify the sender and destroy and delete 
> any copies you may have
> received."_______________________________________________
> Qt-creator mailing list
> Qt-creator at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-creator



"Disclaimer: This message is intended only for the use of the individual 
or entity to
which it is addressed and may contain information which is privileged, 
confidential, proprietary,
or exempt from disclosure under applicable law. If you are not the 
intended recipient or the person
responsible for delivering the message to the intended recipient, you are 
strictly prohibited from
disclosing, distributing, copying, or in any way using this message. If 
you have received this 
communication in error, please notify the sender and destroy and delete 
any copies you may have
received."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20110310/e3543691/attachment.html 


More information about the Qt-creator-old mailing list