Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
Regular Contributor
prathipa84
Posts: 55
Registered: ‎03-14-2012
My Carrier: none

Script to generate the Qt moc files for all the headers - QNX for windows

Hi,

 

To generate the Qt moc files for all the headers in the QNX  for windows, I used the script given in the link

http://r3dux.org/2011/06/how-to-compile-qt-projects-which-use-the-q_object-macro-in-codeblocks/

But it didnt working for me. I got the error as

 

genQtMoc
Error: Cannot run program "genQtMoc": Launching failed
Build error occurred, build is stopped

 

I create the genQtMoc file in f:\bbndk2.0.0\host\win\x86\usr\bin

and given the genQtMo filename in properties->settings->buildsteps->prebuild.


Is there need to place the header file(inc) ans the cpp files(src) in the src folder?

 

I dont know what i am doing wrong?

 

Thanks

Prathipa.

Please use plain text.
Contributor
Cedrik
Posts: 13
Registered: ‎02-19-2012
My Carrier: None

Re: Script to generate the Qt moc files for all the headers - QNX for windows

This is a bash script ( for linux, not windows )

Please use plain text.