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. VS plugin and qmake
Forum Updated to NodeBB v4.3 + New Features

VS plugin and qmake

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 3.7k 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.
  • M Offline
    M Offline
    mprakash
    wrote on last edited by
    #1

    Hello All,
    I am kind of confused why do i get different vcxproj file if I generate it via MSVS plugin and if I generate it from command prompt using qmake.
    I see when I use plugin and and try to load (Open Qt project file.. .pro) it says in output window
    “--- (qmake) : Arguments: -tp vc "myProject.pro" -o "myProject.vcxproj" QMAKE_INCDIR_QT=$(QTDIR)\include QMAKE_LIBDIR_QT= QMAKE_LIBDIR=$(QTDIR)\lib QMAKE_UIC=$(QTDIR)\bin\uic.exe QMAKE_MOC=$(QTDIR)\bin\moc.exe QMAKE_RCC=$(QTDIR)\bin\rcc.exe QMAKE_QMAKE=$(QTDIR)\bin\qmake.exe

    if I use exact same thing from command prompt using qmake I get different vcxproj file? or If I do simple qmake -tp vc it is again different than the vcxproj file generated by plugin. can any one please let me know why is this happening what is so special this plugin does for project file?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      changsheng230
      wrote on last edited by
      #2

      Any bad effects from the different vcxproj files? I seldom take care of vcxproj files when using vs plugin. pro file is more important.

      Chang Sheng
      常升

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mprakash
        wrote on last edited by
        #3

        yup pro file is important and you will not care if you are using Creator, but you will hve to take care if you are using MSVS IDE, because if something is messed in vcxproj file then your build will also be messed up. and unfortunately this is what happening with me at the moment :(

        1 Reply Last reply
        0
        • C Offline
          C Offline
          changsheng230
          wrote on last edited by
          #4

          I am also using MSVS IDE. You can try import your project from MSVS menu "Qt" --> Open Qt project file. Then other ms files will be udpated.
          [quote author="mprakash" date="1310973711"]yup pro file is important and you will not care if you are using Creator, but you will hve to take care if you are using MSVS IDE, because if something is messed in vcxproj file then your build will also be messed up. and unfortunately this is what happening with me at the moment :([/quote]

          Chang Sheng
          常升

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mprakash
            wrote on last edited by
            #5

            The problem is we can not use vs plug-in due to some historical issue.
            and have to use qmake from command prompt:(

            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