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. QT support for Visual studio 2012 ultimate edition
Forum Updated to NodeBB v4.3 + New Features

QT support for Visual studio 2012 ultimate edition

Scheduled Pinned Locked Moved General and Desktop
16 Posts 3 Posters 9.9k 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.
  • R Offline
    R Offline
    Raveendra
    wrote on last edited by
    #7

    I'm facing problem with the qt SDK given by the above link.
    I've written a flash pass-through dll using the given SDK, which intern loads adobe flash Dll.
    But my pass-through works fine with debug mode binaries .But it was crashing when i used release mode binaries.
    Basically a qt web-view application will load this pass-through to play some videos.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      astodolski
      wrote on last edited by
      #8

      [quote author="raven-worx" date="1371646737"]with Qt 5.1 there will be a MSVC 2012 32bit precompiled package available (RC was just "released":http://download.qt-project.org/development_releases/qt/5.1/5.1.0-rc1/ these days).

      The Qt VS plugin 1.1.x should also work with MSVC 2012 AFAIK.
      For Qt 5 you need to use VS plugin 1.2.x
      [/quote]

      It in fact does NOT. I just tried installing the 1.1.11 in VS2012 Premium. See post "here":http://qt-project.org/forums/viewthread/31965/

      1 Reply Last reply
      0
      • A Offline
        A Offline
        astodolski
        wrote on last edited by
        #9

        [quote author="raven-worx" date="1371720230"]ah sorry...seems that the VS plugin 1.1.x indeed doesn't support MSVC 2012.
        [/quote]

        So in a sense there is then no Qt4 support for VS2012. The 1.1.11 add-in makes that connection. It DID work as of VS2010

        1 Reply Last reply
        0
        • raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #10

          just because the addin doesn't support an MSVC version it doesn't men that you can't use the MSVC version to compile Qt.
          You just don't have the comfort that comes with the addin and will have to do the whole work (moc steps, etc.) by yourself.

          I found "feature request":https://bugreports.qt-project.org/browse/QTVSADDINBUG-168 targeting this issue.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • A Offline
            A Offline
            astodolski
            wrote on last edited by
            #11

            [quote author="raven-worx" date="1377870042"]just because the addin doesn't support an MSVC version it doesn't men that you can't use the MSVC version to compile Qt.
            You just don't have the comfort that comes with the addin and will have to do the whole work (moc steps, etc.) by yourself.[/quote]

            True and I can build apps in assembler too. Sarcasm aside, it is a big inconvenience not having the add-in. Until the lines between Qt Creator and VS blur together, you at times need both tool sets.

            1 Reply Last reply
            0
            • raven-worxR Offline
              raven-worxR Offline
              raven-worx
              Moderators
              wrote on last edited by
              #12

              you can use QtCreator (setup with msvc compiler) to develop your Qt specific parts and still use Visual Studio for the rest.
              You just loose the dependency building in this case...

              If that's an option for you.

              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
              If you have a question please use the forum so others can benefit from the solution in the future

              1 Reply Last reply
              0
              • A Offline
                A Offline
                astodolski
                wrote on last edited by
                #13

                [quote author="raven-worx" date="1377870901"]you can use QtCreator (setup with msvc compiler) to develop your Qt specific parts and still use Visual Studio for the rest.
                You just loose the dependency building in this case...

                If that's an option for you.[/quote]

                Options are always better than not having any. May be the ONLY option. I commented the "bug":https://bugreports.qt-project.org/browse/QTVSADDINBUG-168#comment-213673

                I'm not sure if that even would work given the dependency issues mentioned. Going to do a test...

                EDIT:
                There seems to be a problem with the tool set. If a project that works perfectly when build using Qt Creator is them loaded into VS2012 with the 1.2.2 add-in, I get the following error

                Error 2 error MSB6006: "CL.exe" exited with code -1073741515. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.targets 147 5 ImageViewer (Visual Studio 2010).

                If I change the tool set to use Visual Studio 2012 (v110) I get:
                Error 3 error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1700' in main.obj C:\Users\Default.WIN-SHC18RVLNPH\Documents\ImageViewer\qtmaind.lib(qtmain_win.obj) ImageViewer

                Bottom line: There may not be any available options using VS2012 with Qt4!

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  astodolski
                  wrote on last edited by
                  #14

                  [quote author="raven-worx" date="1377870901"]you can use QtCreator (setup with msvc compiler) to develop your Qt specific parts and still use Visual Studio for the rest.
                  You just loose the dependency building in this case...

                  If that's an option for you.[/quote]

                  Tried a test - it doesn't work.

                  1 Reply Last reply
                  0
                  • raven-worxR Offline
                    raven-worxR Offline
                    raven-worx
                    Moderators
                    wrote on last edited by
                    #15

                    this definitly works ...
                    what exactly isn't working?!

                    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                    If you have a question please use the forum so others can benefit from the solution in the future

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      astodolski
                      wrote on last edited by
                      #16

                      [quote author="raven-worx" date="1377891306"]this definitly works ...
                      what exactly isn't working?![/quote]

                      Look up in the thread...

                      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