Results 1 to 7 of 7

Thread: Is Windows Development even possible with QT?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    Smile Re: Is Windows Development even possible with QT?

    Quote Originally Posted by wysota View Post
    No, not really. I'm just annoyed when people say "oh Qt sucks so much!" when the fault is obviously not Qt's.
    I never said Qt sucks - I happen to like it, which is why it is frustrating that there is so little resources for using it for Windows/VS.

    Quote Originally Posted by wysota View Post
    No. The fact that a square of x is larger than x doesn't automatically make x+1 the square of x. There is a difference between a required condition and a sufficient condition.
    That was sarcasm

    Quote Originally Posted by wysota View Post
    Even the simplest operation can be painful if done the wrong way.
    But it doesn't have to be painful if done the right way.

    Quote Originally Posted by wysota View Post
    Go ahead, use vi to develop an MFC app, I don't care. My point is to not use Visual Studio wizards for it.
    Would a Eclipse or QtCreator wizard be better - just a little joke - relax.


    Quote Originally Posted by wysota View Post
    I don't see the parallel, to be honest. I'm sure that if you wanted to do DirectX programming using only vi without any earlier experience with it....
    What I meant was, when setting up Visual Studio for Directx, I simply had to download and install the sdk, and my environment was setup.

    Quote Originally Posted by wysota View Post
    Play around using Qt Creator and only when you learn it's worth the effort, convince Visual Studio to work with your Qt installation.
    This is exactly what I'm trying to do - I have been playing around with QtCreator, and have enjoyed it - but would prefer VS due to its debugging features.

    Quote Originally Posted by wysota View Post
    Read your post again -- you didn't ask for help. You only wanted to shout out your frustrations. Which is of course ok to do but then you risk such harsh responses as mine.
    I did read it again and I'm sorry, I didn't intent to sound that way. What I was really trying to ask is if there is a clear way in which to setup VS as a development environment for Qt or if that's a bad idea? How to generate .exe? My vs projects run, but no .exe are generated.

    Quote Originally Posted by wysota View Post
    Try giving Qt another shot. If you can't get the AddIn to work then just ignore it, you don't need it. Use "qmake -tp vc" to generate a Visual Studio project from a Qt project file, open it with Visual Studio and start hacking ("around").
    Thank you - I didn't know that you can do that with qmake, and thought the addin was a requirement.

    My problem wasn't with Qt, but confusion/frustration on how to setup VS for Qt.

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

    Default Re: Is Windows Development even possible with QT?

    Quote Originally Posted by NotSoQT View Post
    What I meant was, when setting up Visual Studio for Directx, I simply had to download and install the sdk, and my environment was setup.
    If you download Qt for Qt Creator/MinGW or GCC, all you have to do is to download and install it and the environment is setup. Can you notice the trend? The maintainer spends more time testing (and supporting) configurations that are more likely to be used than those less likely to be used. Your configuration apparently is not one of the most popular ones.

    My vs projects run, but no .exe are generated.
    I don't think that's possible

    Thank you - I didn't know that you can do that with qmake, and thought the addin was a requirement.
    You can even do the whole compilation (qmake && nmake) from the command line and only use VS for writing code and/or running the debugger.

    My problem wasn't with Qt, but confusion/frustration on how to setup VS for Qt.
    Don't worry. Eventually you'll manage to do it. For me it worked out of the box the last time I tried it (Qt 4.6 + MSVS2008 AFAIR, I don't remember the AddIn version). Recently if I'm using MSVC then only from the command line, I'm doing all the development on Linux. That's why I think Qt is cross-platform.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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

    NotSoQT (19th May 2011)

  4. #3
    Join Date
    May 2011
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    1

    Default Re: Is Windows Development even possible with QT?

    Quote Originally Posted by wysota View Post
    If you download Qt for Qt Creator/MinGW or GCC, all you have to do is to download and install it and the environment is setup. Can you notice the trend? The maintainer spends more time testing (and supporting) configurations that are more likely to be used than those less likely to be used. Your configuration apparently is not one of the most popular ones.
    Yep, that's why I was going crazy :P

    Quote Originally Posted by wysota View Post
    I don't think that's possible
    It isn't, but it made me think I was missing some kind of config - turned out to be a odd directory structure I had, exe's are generated just fine

    Quote Originally Posted by wysota View Post
    You can even do the whole compilation (qmake && nmake) from the command line and only use VS for writing code and/or running the debugger.
    Nice.

    Quote Originally Posted by wysota View Post
    Don't worry. Eventually you'll manage to do it. For me it worked out of the box the last time I tried it (Qt 4.6 + MSVS2008 AFAIR, I don't remember the AddIn version). Recently if I'm using MSVC then only from the command line, I'm doing all the development on Linux. That's why I think Qt is cross-platform.
    I've managed to get everything 100% in VS2010 now, turned out to be an incorrect and duplicated path variable, and some misplaced files - my fault, as you pointed out earlier :P

    Thanks for the help, and sorry about my earlier posts!

Similar Threads

  1. Voip Development Kit
    By alienpenguin in forum Qt-based Software
    Replies: 9
    Last Post: 13th July 2012, 10:08
  2. Mythtv development
    By gorsanmo in forum General Discussion
    Replies: 1
    Last Post: 26th April 2011, 23:21
  3. Replies: 1
    Last Post: 13th August 2009, 17:32
  4. Qt development environment?
    By klx in forum Newbie
    Replies: 3
    Last Post: 21st March 2008, 13:51
  5. Migrating development XD
    By chaosgeorge in forum Installation and Deployment
    Replies: 10
    Last Post: 24th November 2006, 10:59

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.