Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Learning
  3. Qt in Education
  4. [Solved] Qt Programming in VS2008
Forum Updated to NodeBB v4.3 + New Features

[Solved] Qt Programming in VS2008

Scheduled Pinned Locked Moved Qt in Education
5 Posts 2 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    XLeopard
    wrote on last edited by
    #1

    I'm reading C++ GUI Programming with Qt4,Second Edition.
    When I ran the example in chapter3(spreadsheet), the outcome was not in accord with the code.
    It didn't have menu and toolbar.But I had run it in Qt2010.05 before.
    It had menu that time. Does the difference of IDEs make trouble or something else?

    [edit] marked as solved, koahnig

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      welcome to devnet

      In general there should be no difference originating from the IDE. Sometimes there might be differences from the compiler you are using because of conditional compiling directives. this is in cases something is excluded for specific compiler though.

      With Qt2010.05 you mean you have used Qt creator?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • X Offline
        X Offline
        XLeopard
        wrote on last edited by
        #3

        I used it not too long ago and tried several different editions.
        But There was something wrong with OpenGL.
        It advised me that I must include winXX.h files in the Qt \desttop\qtcore\msvc2008.
        I attemped to add them at first. But There were too much files it needed.
        So I think it had relations with my OS. Then I surfed the Internet to find some solutions.
        At last, I found Qt + VS2008.
        And just know, the simplest codes turned wrong.

        In addition,what I really want is to learn OpenGL.

        1 Reply Last reply
        0
        • X Offline
          X Offline
          XLeopard
          wrote on last edited by
          #4

          I'm really sorry for bothering you.
          I checked my codes again this morning and found that there was only one error in main.cpp, where only spreadsheet.cpp and QtGUI were included. But I did know that all the .h files were
          included in mainwindow.h. So I added mainwindow.cpp instead of spreadsheet.cpp in the main.cpp. Finally it works. I do appreciate that you could help me when I was helpless.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            koahnig
            wrote on last edited by
            #5

            No problem. Glad to hear that your problem has been solved.

            Sometimes we overlook some simple things over and over again.

            Please mark your thread as solved next time.

            Vote the answer(s) that helped you to solve your issue(s)

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved