Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Deleted
Forum Updated to NodeBB v4.3 + New Features

Deleted

Scheduled Pinned Locked Moved General and Desktop
18 Posts 3 Posters 8.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.
  • D Offline
    D Offline
    dbzhang800
    wrote on last edited by
    #7

    Chris_12345,

    Please install Qt library first before you use it.

    BTY, you can download Qt SDK if you want.

    @
    Qt SDK = Qt Library + Qt Creator + ...
    @

    When we talk Qt, we mean Qt Library, all others are optional.

    Debao

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Chris_12345
      wrote on last edited by
      #8

      [quote author="1+1=2" date="1339094411"]Chris_12345, Please install Qt library first before you use it. BTY, you can download Qt SDK if you want. @ Qt SDK = Qt Library + Qt Creator + ... @ When we talk Qt, we mean Qt Library, all others are optional. Debao[/quote]

      So, even though I can build using Qt Creator, I have to download the Qt library if I want to use it with Visual Studio.

      Thanks,
      Chris L.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dbzhang800
        wrote on last edited by
        #9

        Seems you have installed QtSDK,;-)

        then goto
        @
        QtSDK\Desktop\Qt\4.8.1
        @

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

          [quote author="Chris_12345" date="1339094596"]
          So, even though I can build using Qt Creator, I have to download the Qt library if I want to use it with Visual Studio.
          [/quote]
          Yes, you have. You can install mingw with the sdk and also the Qt lib version compiled for mingw. So, it will run directly with creator.
          Unfortunately, every version of Qt libs has to be compiled separately. The msvc objects are not compatible, not even with each other (msvc2005, 2008, 2010).

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

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Chris_12345
            wrote on last edited by
            #11

            [quote author="koahnig" date="1339094130"]You need to download the "Qt libs compiled for msvc 2008":http://releases.qt-project.org/qt4/source/qt-win-opensource-4.8.2-vs2008.exe from "here":http://qt-project.org/downloads#qt-lib and install those. [/quote]

            I downloaded and installed this, but I get the exact same error message when I build:

            bq. There’s no Qt version assigned to this project for platform Win32. Please use the ‘change Qt version’ feature and choose a valid Qt version for this platform.

            The Visual Studiow 2008 menubar, Qt, Qt Options, is now populated with version 4.8.2 and the path shown is C:\Qt\4.8.2.

            What should I do.

            Thanks,
            Chris L.

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

              Does the Qt options menu look similar to this?

              !http://db.tt/xQZ78IoX(qt options menu)!

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

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Chris_12345
                wrote on last edited by
                #13

                [quote author="koahnig" date="1339096262"]Does the Qt options menu look similar to this? !http://db.tt/xQZ78IoX(qt options menu)! [/quote]

                I can't see your picture (in both Internet Explorer and Firefox), all I see is "qt options menu" in place of your picture

                My Visual Studio 2008 dialog window looks like this (without the numbers in column one):

                @
                Qt Options is the title of the window

                [Qt Versions tab selected] Qt Default Settings tab

                Name Path Add Button
                4.8.2 C:\Qt\4.8.2 Delete Button

                Default Qt/Win version: 4.8.2
                Default Qt/WinCE version: BLANK

                                                                  OK Button       Cancel Button
                

                @

                Chris L.

                P.S.: The Qt Default Settings tab looks like below. I do not have the following environment variables: GeneratedFiles and ConfigurationName.

                ask before checkout file True
                disable auto MOC steps update False
                disable checkout files False
                LReleaseOptions
                lupdateOnBuild False
                LUpdateOptions
                MocDirectory .\GeneratedFiles$(ConfigurationName)
                MocOptions
                RccDirectory .\GeneratedFiles
                UicDirectory .\GeneratedFiles

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

                  I do not know why you cannot see the picture. Certainly I can :-(

                  However, your entries are looking fine. There is no environment variable called GeneratedFiles. What you for UicDirectory is that in the current working dir a sub-dir GeneratedFiles will be created and the information will be stored there. For MocDirectory in the GeneratedFiles sub-dir there will be another sub-dier created and its name is based on your vc ConfigurationName. You may include most, if not any, of the macros as you can create within vc.

                  As I wrote before, close visual studio and open again. There seem to be an initialization problem. Then try again.

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

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    Chris_12345
                    wrote on last edited by
                    #15

                    [quote author="koahnig" date="1339097917"]I do not know why you cannot see the picture. Certainly I can :-( However, your entries are looking fine. There is no environment variable called GeneratedFiles. What you for UicDirectory is that in the current working dir a sub-dir GeneratedFiles will be created and the information will be stored there. For MocDirectory in the GeneratedFiles sub-dir there will be another sub-dier created and its name is based on your vc ConfigurationName. You may include most, if not any, of the macros as you can create within vc. As I wrote before, close visual studio and open again. There seem to be an initialization problem. Then try again. [/quote]

                    I completely shut down my computer, but I still get the same exact Visual Studio error message:

                    bq. There’s no Qt version assigned to this project for platform Win32. Please use the ‘change Qt version’ feature and choose a valid Qt version for this platform.

                    P.S. I'll try again tomorrow! Also, I think I should be using Qt library 4.8.1 and not 4.8.2. Should I change to 4.8.1, if so how do I do that.

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      Chris_12345
                      wrote on last edited by
                      #16

                      [quote author="koahnig" date="1339096262"]Does the Qt options menu look similar to this? !http://db.tt/xQZ78IoX(qt options menu)! [/quote]

                      From my PC at home, I do see your picture. I have only one line and it says:

                      @4.8.2 C:\Qt\4.8.2@

                      I think that the project (from my peer) that I'm trying to build is built with Qt library 4.8.1. And, this may be my only problem!Maybe Visual Studio is telling me that I have to have library 4.8.1. What do you think. Where can I get Qt library 4.8.1.

                      I guess I can live with library 4.8.2 on my computer.

                      What else can be causing problem, and how do I fix it.

                      Thank you,
                      Chris L.

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

                        The version of Qt libs is not an issue, at least not with these minor version numbers. In general you may use applications with different Qt4 versions. Certainly, it is better to use up-to-date versions (dlls) and you need them for new features.
                        When you compile the projects, you will use the libs on your machine anyway.

                        Can you compile now?

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

                        1 Reply Last reply
                        0
                        • C Offline
                          C Offline
                          Chris_12345
                          wrote on last edited by
                          #18
                                                Deleted
                          
                          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