Ich benutze Visual Studio 2005 und QT 4.1.2 und möchte nun gerne den QTService(2.1) benutzen. Doch leider funktioniert das nicht so richtig. Die Installation Anleitung des Packages verklickert mir irgendwas von .pro file.
Aber wenn ich mich nicht irre benutzt doch Visual Studio keine .pro files.
wäre nett wenn mir einer Helfen könnte
- Using a component in your project
---------------------------------
The directory your-install-dir/src includes all the source code for the
component. To use this component in your project:
1. Add the following line
include(your-install-dir/src/some-package.pri)
to the project's .pro file.
2. Run qmake on the project's .pro file.
This adds the package's sources and headers to the SOURCES and HEADERS
qmake variables respectively, and update INCLUDEPATH to contain the
package's src directory. Additionally, the .pri file may include some
dependencies needed by the package.
To include a header file from the package in your sources, you can now
simply use:
#include <some-package.h>