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.

inside custom component

Native Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


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

undefined reference to `QWidget::x11Event(_XEvent*)'

While building the Qt app in QNX, got the error

 

In function `.LANCHOR1':
moc_IMView.cppSmiley Sad.data.rel.ro+0xc8): undefined reference to `QWidget::x11Event(_XEvent*)'

 

I think some link error or library missing? Am I right and what to do?

 

Thanks.

 

 

Regular Contributor
Posts: 55
Registered: ‎03-14-2012
My Device: RDJ21WW
My Carrier: none

Re : moc command for too many input files

Hi,

How to execute moc coomand for too many files?

For example,

 

moc ../inc/xxx.h -o moc_xxx.cpp moc ../inc/yyy.h -o moc_yyy.cpp moc ../inc/zzz.h -o moc_zzz.cpp

 

got the error as "moc: Too many input files specified".

Did anyone knows?

 

Thanks.

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Re : moc command for too many input files

it's impossible, you might wish to use simple script to go thourgh all your files.

Regular Contributor
Posts: 55
Registered: ‎03-14-2012
My Device: RDJ21WW
My Carrier: none

Re: Re : moc command for too many input files

Hi,

 

How to specify the moc command for many cpp files in properties->builsd steps->prebuild option in QNX (windows) for Qt projects to integrate?

 

Thanks

prathipa.

 

Developer
Posts: 105
Registered: ‎04-24-2012
My Device: blackberry developer
My Carrier: relience

Re: Re : moc command for too many input files

I am also getting same error.

 

Did you solve it?

If yes then please provide the solution.

 

Thanks In advance.

bskania,

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Re : moc command for too many input files

Hi there,

 

Have you tried using Momentics or an IDE for your project?

 

Martin

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Re : moc command for too many input files

Momentics is IDE? no?

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Re : moc command for too many input files

Yes

Developer
Posts: 1,068
Registered: ‎11-24-2011
My Device: PlayBook
My Carrier: x

Re: Re : moc command for too many input files

So, I have not figured out how to moc several files automatically when you run project build. Fortunately you don't change these .h files that need moc too often.

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Re : moc command for too many input files

That is odd. Which errors are you getting when they are not up to date?