Results 1 to 4 of 4

Thread: Converting QT 4 to VC++

  1. #1
    Join Date
    Jun 2006
    Location
    India
    Posts
    14
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Converting QT 4 to VC++

    hi

    Recently i have upgraded to QT 4 from QT 3.

    in QT 3 , we can convert to VC++ using "qmake -tp vc abc.pro",

    but the same command is not working in QT 4 ,
    can u pl help me out ??

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

    Default Re: Converting QT 4 to VC++

    Qt4/Free does not support MSVC. If you have a commercial licence, you should get a VS integration component.

  3. The following user says thank you to wysota for this useful post:

    vvbkumar (22nd June 2006)

  4. #3
    Join Date
    May 2006
    Location
    Bangalore,India
    Posts
    235
    Thanks
    7
    Thanked 25 Times in 24 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Post Re: Converting QT 4 to VC++

    qmake -tp vc abc.pro cmd working for me in Qt4.1.3
    what are file available in your folder?
    what error you getting?

  5. #4
    Join Date
    Jan 2006
    Posts
    75
    Thanks
    3
    Thanked 5 Times in 4 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Converting QT 4 to VC++

    I simply put all the *.cpp and *.h files into a folder called, say [QtDemo]. Then under this folder I open a command prompt, typing [qmake -project] and it will generate a QtDemo.pro project file. And then I can generate a QtDemo.vcproj by typing [qmake -tp vc] under the same folder. That 's it.

Similar Threads

  1. converting string to unsigned integer
    By mgurbuz in forum Qt Programming
    Replies: 4
    Last Post: 12th May 2006, 09:46
  2. Converting QString to unsigned char
    By salston in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 22:10
  3. Converting my UI to Qt4
    By Honestmath in forum Qt Programming
    Replies: 1
    Last Post: 14th April 2006, 23:58
  4. Replies: 10
    Last Post: 1st February 2006, 10:08

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.