PDA

View Full Version : How to develop Dll in Qt ?



semaphore
13th August 2010, 07:44
Hi

I am beginner in QT environment.

How to develop Dll in QT ?
I want to integrate this Dll's API in Microsoft sharepoint .

Please suggest how to develop this thing.

Thanks
Semaphore

tbscope
13th August 2010, 08:01
http://doc.qt.nokia.com/4.6/sharedlibrary.html

semaphore
13th August 2010, 10:20
thanks for reply

Which IDE should i use for that?

QT Creator Visual studio or any other?

Semaphore

aamer4yu
13th August 2010, 10:59
QT Creator Visual studio or any other?
Which ever you are comfortable with !

semaphore
13th August 2010, 14:29
Hi

I have window XP.
I create the DLL in QT creator 2.0 and Based on Qt 4.7.0 (32 bit).

I include #include "../../src/gui/image/qimage.h"
and do QT += gui in .pro file.It work fine.

Now please let me know how can I use this DLL in Microsoft sharepoint?

Thanks
Semaphore

tbscope
13th August 2010, 15:00
I include #include "../../src/gui/image/qimage.h"
No, you do not include "../../bla/bla/bla/something.h"
You include <something.h>
Define include paths and their order in your makefile, .pro file or whatever configure/build system you use.
Install headers in default paths.

It's very annoying when you want to build code that doesn't find the necessary files. Or includes the wrong files/versions
Well, at least that is my personal opinion.


Now please let me know how can I use this DLL in Microsoft sharepoint?
Google for a good sharepoint forum and ask there. There might be someone browsing this website with good sharepoint knowledge, but I think the chance is extremely small you'll get a quality response to this qusetion on this site.