Results 1 to 4 of 4

Thread: Qt vs WinAPI what does Qt lose, so it can be more easy?

  1. #1
    Join Date
    Oct 2012
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt vs WinAPI what does Qt lose, so it can be more easy?

    I am into learning some GUI API in C++, so I searched a lot to see which one was best. I ended up with either Qt or WinAPI. I read some people saying that Qt was easier to work with but with WinAPI you could control everything. The argument proceeded and someone said that it was a fair exchange, a small piece of control so it could become easier. Now I want to know, what exactly are you losing when you chose Qt? Is it the interaction with the system? What exactly can you do in WinAPI that you cannot do in Qt?

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

    Default Re: Qt vs WinAPI what does Qt lose, so it can be more easy?

    Quote Originally Posted by vchavauty View Post
    I ended up with either Qt or WinAPI. I read some people saying that Qt was easier to work with but with WinAPI you could control everything. The argument proceeded and someone said that it was a fair exchange, a small piece of control so it could become easier. Now I want to know, what exactly are you losing when you chose Qt? Is it the interaction with the system? What exactly can you do in WinAPI that you cannot do in Qt?
    It's not that you are losing anything vital. You can use most WinAPI calls with Qt, however indeed some strange sophisticated combinations are difficult to obtain. If you are after "learning some GUI API" then Qt will be much more than sufficient.
    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. #3
    Join Date
    Aug 2008
    Location
    Algarve, Portugal
    Posts
    288
    Thanks
    23
    Thanked 32 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Qt vs WinAPI what does Qt lose, so it can be more easy?

    Quote Originally Posted by vchavauty View Post
    Now I want to know, what exactly are you losing when you chose Qt?
    With Qt I don't know what you're losing, but with winAPI you may be losing you're mental sanity

    Do you have any ideia how hard is to learn coding only using WinAPI ?
    If you want to build a house, Qt will provide you pre build doors, windows, and walls. If you go with WinAPI you'll have to build everything yourself, bricks and screws included. Good luck with that. In the end, all comes down to your level of expertise and the type of apps you're trying to build. Oh, and with WinAPI, forget about cross plataform.
    __________________________________________________
    My projects: calculator MathGraphica ; SuperEpicMegaHero game ; GooglePlay ; bitbucket ; github
    Like my projects ? Buy me a kofi

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

    Default Re: Qt vs WinAPI what does Qt lose, so it can be more easy?

    Quote Originally Posted by john_god View Post
    If you go with WinAPI you'll have to build everything yourself, bricks and screws included. Good luck with that.
    And the hammer costs few thousand USD
    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.


Similar Threads

  1. Forcing a QWidget to lose focus
    By Polnareff in forum Qt Programming
    Replies: 1
    Last Post: 5th November 2010, 10:24
  2. QCompleter causes table to lose focus
    By knack in forum Qt Programming
    Replies: 3
    Last Post: 29th August 2010, 22:22
  3. Using Winapi in Qt?
    By Awareness in forum Qt Programming
    Replies: 3
    Last Post: 23rd March 2010, 03:04
  4. i want to lose the focus...
    By jrodway in forum Qt Programming
    Replies: 7
    Last Post: 14th July 2007, 10:04
  5. QCanvas automatically lose its focus.
    By Cutey in forum Qt Programming
    Replies: 1
    Last Post: 19th January 2007, 11:29

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.