QTService in Visual Studio 2005 einbinden

Alles rund um die Programmierung mit Qt
Antworten
sanmil1982
Beiträge: 2
Registriert: 9. Mai 2006 09:36

QTService in Visual Studio 2005 einbinden

Beitrag von sanmil1982 »

Folgendes Problem.
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>
Christian81
Beiträge: 7319
Registriert: 26. August 2004 14:11
Wohnort: Bremen
Kontaktdaten:

Beitrag von Christian81 »

Man muss das vcproj mit qmake erstellen...

http://doc.trolltech.com/4.1/qmake-manual.html
MfG Christian

'Funktioniert nicht' ist keine Fehlerbeschreibung
sanmil1982
Beiträge: 2
Registriert: 9. Mai 2006 09:36

Beitrag von sanmil1982 »

Musste erst mit qmake ein .pro file erstellen und in der profile die unix header und cpp's entfernen. Dann mit "qmake -tp vc" das Visual Studio project generieren.

danke für die Hilfe
:D
Antworten