NetBeans Forums

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

File extensions when creating Qt forms

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



Joined: 22 Feb 2017
Posts: 1

PostPosted: Wed Feb 22, 2017 5:23 pm    Post subject: File extensions when creating Qt forms Reply with quote

Hello,
This is a very minor thing I realize, but it's really irritating me! So I'm working with NetBeans IDE 8.2 and Qt 5.8. Functionally everything is fine but when I create a new form in Qt Designer launched from NetBeans the resulting C++ class file has the name e.g. : newForm.cpp.cc . Oddly in the dialog where I choose the class name from within NetBeans says the filename is going to be newForm.cpp but when it creates it the .cc gets added as well. Is there anywhere I can set the extension? I'm assuming NetBeans and designer are somhow both adding an extension - I don't have the problem when using QtDesigner from QtCreator. Having cpp.cc is just ugly!
James
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 597

PostPosted: Wed Feb 22, 2017 8:09 pm    Post subject: Reply with quote

You are right. I created https://netbeans.org/bugzilla/show_bug.cgi?id=269902
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 597

PostPosted: Wed Feb 22, 2017 8:17 pm    Post subject: Reply with quote

You can create NewForm.cc file, if you will use such workaround:
- open Options window
- select C/C++ > Other
- set 'cc' as a default C++ extension
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