NetBeans Forums

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

no code Assistance for Qt (on remote RPi)

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



Joined: 06 Feb 2017
Posts: 2

PostPosted: Mon Feb 06, 2017 9:03 pm    Post subject: no code Assistance for Qt (on remote RPi) Reply with quote

Given: Netbeans 8.2 under Windows is used to develop applications for the Raspberry Pi, including Qt based, that are remotely built on the Raspberry Pi.(http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/netbeans-windows/installing-netbeans-for-c-remote-development-on-a-raspberry-pi). The code assistance for the C++ including c++11 is working. The Qt is set up on the Rpi, so the applications are built and run just fine.

Problem: Qt headers are not recognised and correspondingly nothing that starts with 'Q'. And therefore no code completion.
Additionally, the source files that are generated by moc and uic are not downloaded from RPI. Netbeans doesn't prompts to download files from the build host (RPi), and I could not find an option/setting that regulates this behaviour.
Back to top
Paulo R. Panhoto
Posted via mailing list.





PostPosted: Tue Feb 07, 2017 5:25 pm    Post subject: Netbeans: no code Assistance for Qt (on remote RPi) Reply with quote

Is the Qt installation in a "system path" (e.g. /usr/include)?

if not, you'll need to go to Tools -> Options -> C/C++ -> Code Assistance. Select the appropriate toolchain. The Qt include directories might be missing there.

On Mon, Feb 6, 2017 at 7:03 PM, Quant <address-removed ([email]address-removed[/email])> wrote:
Quote:
Given: Netbeans 8.2 under Windows is used to develop applications for the Raspberry Pi, including Qt based, that are remotely built on the Raspberry Pi.(http://www.raspberry-projects.com/pi/programming-in-c/compilers-and-ides/netbeans-windows/installing-netbeans-for-c-remote-development-on-a-raspberry-pi). The code assistance for the C++ including c++11 is working. The Qt is set up on the Rpi, so the applications are built and run just fine.

Problem: Qt headers are not recognised and correspondingly nothing that starts with 'Q'. And therefore no code completion.
Additionally, the source files that are generated by moc and uic are not downloaded from RPI. Netbeans doesn't prompts to download files from the build host (RPi), and I could not find an option/setting that regulates this behaviour.




Back to top
Quant



Joined: 06 Feb 2017
Posts: 2

PostPosted: Tue Feb 07, 2017 6:48 pm    Post subject: Reply with quote

Ok, I reinstalled Netbeans and set up the build host anew. This helped with recognition of the Qt headers, classes and macros.
However, Netbeans still doesn't download the output of the compilation (executables, libraries etc), like it is mentioned 'https://netbeans.org/kb/docs/cnd/remotedev-tutorial.html#tips'). This problem is not only with Qt but with other project types. How can I restore this functionality?
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