Friday, July 4th 2008, 11:30pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

vjn

Beginner

1

Friday, April 11th 2008, 3:32pm

Problem using Custom Widgets

Hi All,

I have developed a CustomWidget and I am able to access it in Designer also.

I developed a sample screen using this custom widget and used the .ui file in my
application. But when I tried to compile my application it says that it failed to find
the implementation of some functions inside the CustomWidget.

I solved that by including the custom widget .H file path in .pro file.

but then it says that it is missing some implementations.

Do I need to include my CustomWidget library also in my application's .pro file. ?

What else I need to do to use the CustomWidget in my application. Currently I am using Qtopia4.3.2 and trying to build my application on the host machine.

I have to run the application in ARM Board also. Do we need to do any thing specific for that.

One thing more I noted is I am using #include <QtDesigner/QDesignerExportWidget> , this file is present in my Qtopia4.3.2/include/QtDesigner path i.e Qtopia for my host machine but I dont have
QtDesigner in my Qtopia build for arm platform i.e at Qtopia4.3.2_arm/include. So I doubt how I will be building this CustomWidget for my ARM platform.

Totally lost some one please help me..

I could find lot many documents telling about how to create Custom Widgets but none of them show how to use it in your application.

vjn
vjn
  • Go to the top of the page

Rate this thread