Results 1 to 2 of 2

Thread: How can I create a vcproj file with specific subfolders with QMake

  1. #1
    Join Date
    Mar 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default How can I create a vcproj file with specific subfolders with QMake

    Hi all!

    I'm trying to figure out how to write a .pro file that I can use to generate a vcproj file (VS2003) that would reflect the file structure as subfolders. Let me give an example what I'd like to do.

    The file structure i have is something like this:

    Library/
    Subfolder1/
    Class1.h
    Class1.cpp
    Class2.h
    Class2.cpp
    Subfolder2/
    Class3.h
    Class3.cpp
    Subfolder3/
    Class4.h
    Class5.h
    Class5.cpp


    All this I want to build into a static library called Library.lib.

    And in Visual Studio I'd like to have a solution file with a project called Library that has subfolders Subfolder1, Subfolder2 and Subfolder3. Currently I can just get all the files into Source files, Header files etc. This I would like to not have.

    Does anyone know if this is possible and how to achieve it?

    I would be very happy to know how to do this so thanks in advance!
    Last edited by murrekatt; 5th March 2010 at 09:16.

  2. #2
    Join Date
    Mar 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How can I create a vcproj file with specific subfolders with QMake

    Anyone? Is it even possible to do this?

Similar Threads

  1. Replies: 4
    Last Post: 26th February 2010, 18:51
  2. Problem creating vcproj with qmake in 4.6.0
    By bnilsson in forum Installation and Deployment
    Replies: 3
    Last Post: 14th January 2010, 06:27
  3. Generating .pro files from vcproj file or CMake file
    By ramazangirgin in forum Qt Programming
    Replies: 2
    Last Post: 17th February 2009, 09:37
  4. making qmake create VisualStudio console app project file?
    By akos.maroy in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2008, 14:45
  5. Problem when using qmake for .vcproj file generation
    By Conel in forum Qt Programming
    Replies: 3
    Last Post: 4th December 2006, 14:27

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.