Results 1 to 6 of 6

Thread: Help creating .vcproj

  1. #1
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Help creating .vcproj

    Hello everybody,

    I've got an open source package that I'd like to build more in VS2005, I hope somebody could explain me how QT will involve this and how I could build this; Im busy with this source for a few days right now and my head is exploding right now..

    The project is : Link here..

    If I count the folders with the items, There are 19 solutions of .vcproj files that must be made? I don't know so if somebody can help.

    Kinda regards if you maybe generate the .vcproj for every solution.
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Help creating .vcproj

    Is it a Qt-project with .pro files?
    J-P Nurmi

  3. #3
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Help creating .vcproj

    Yes, in every folder there is a .pro file, but when I want to make the .vcproj files, it says it can't find the MAKEFILE even when I did the qmake -project ect ect.

    And when I do the qmake -project it generates a file without the name, it just generates .pro with no name.
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Help creating .vcproj

    You shouldn't run "qmake -project" if you already have a .pro file. "qmake -project" is used to generate an initial .pro file when you have no .pro file at all. After that, you run qmake without "-project" to generate makefiles (or Visual Studio project files). What has happened is that you accidentally destroyed the original .pro file because you ran "qmake -project". You might want to start all over again by restoring the original .pro file and running qmake without "-project" switch.
    J-P Nurmi

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,017 Times in 4,793 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Help creating .vcproj

    Just to add to that. If you want to create a visual studio project from a qmake project, run "qmake -tp vc". If your qmake supports it, it will generate a proper vs project.

  6. #6
    Join Date
    Feb 2008
    Location
    Netherlands, The
    Posts
    18
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Help creating .vcproj

    Thanks for the help everyone but the project has too many errors to resolve.
    Microsoft Visual C++ 2005 Express - V: 8.0.50727.42
    QT 4.2.0 Open Source - Installed in D:\qt-win-4.2.0

Similar Threads

  1. Creating new scene from a part of an old one
    By maverick_pol in forum Qt Programming
    Replies: 6
    Last Post: 28th November 2007, 18:14
  2. Creating pages
    By hgedek in forum Qt Programming
    Replies: 1
    Last Post: 19th July 2007, 15:11
  3. Problem in creating thread in GUI application
    By jyoti kumar in forum Qt Programming
    Replies: 2
    Last Post: 15th May 2006, 12:05
  4. Visual Studio 2003 and .vcproj files
    By mbjerkne in forum General Discussion
    Replies: 2
    Last Post: 1st February 2006, 00:51
  5. Creating a "windowless" software
    By Yorma in forum Qt Programming
    Replies: 7
    Last Post: 9th January 2006, 15:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.