NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

"Unable to resolve identifier" on all Qt namespace enums

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
digifuzzy



Joined: 31 Oct 2016
Posts: 1
Location: Earth - somewhere

PostPosted: Mon Oct 31, 2016 4:04 am    Post subject: "Unable to resolve identifier" on all Qt namespace enums Reply with quote

Netbeans 8.2 (and applies to 8.1)
Qt 5.7.0
Arch - Linux 4.8.4-1

Any usage of a Qt namespace enum value results in that identifier being underlined and flagged in the IDE as "unable to resolve identifier". This includes any of the alignment flags (e.g. Qt::AlignCenter ). Project compiles successfully.

Could find no other references in netbeans forums or bugs that described this condition for Qt. There were references to c++11/14 std namespace, but these suggestions were not applicable to Qt.

Project is set for c++11 (suggested in a google search).

Project has -fPIC set (hinted at in another search).

Clearing cache and reparsing project does not resolve.

Using
Code:
#include <Qt>
does not fix and removing include statement causes IDE to flag
Code:
connect
statements as unresolved identifiers.

Including the namespace header file
Code:
/usr/include/qt/QtCore/qnamespace.h
does not resolve problem.

Any other suggestions?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo