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. Integrating Qt with visual c++ 2008
Forum Updated to NodeBB v4.3 + New Features

Integrating Qt with visual c++ 2008

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 2.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.
  • L Offline
    L Offline
    luluzinha
    wrote on 13 Apr 2012, 23:44 last edited by
    #1

    Hello, help me!
    I have done the integration with QT and visual c++ 2008, I have done the configuration like "http://rajorshi.net/blog/2009/01/using-qt-with-msvc-express-2008/comment-page-2/#comment-35272", now Qt is integrated with Visual c++ 2008, soh, when I run the project “HelloQt” that I created…..

    1>—— Build started: Project: HelloQt, Configuration: Debug Win32 ——
    1>Performing Makefile project actions
    1>’qmake’ não é reconhecido como um comando interno
    1>ou externo, um programa operável ou um arquivo em lotes.
    1>Project : error PRJ0019: A tool returned an error code from “Performing Makefile project actions”
    1>Build log was saved at “file://c:\Users\lulu\Documents\Visual Studio 2008\Projects\HelloQt\HelloQt\Debug\BuildLog.htm”
    1>HelloQt – 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

    Somebody know what is wrong?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gmaro
      wrote on 14 Apr 2012, 00:58 last edited by
      #2

      Hi,
      message says that qmake.exe is not recognized. You can check in cmd - you should get the same message when typing "qmake".

      You should definitely check your PATH - have you got [drive]:[qt-dir]\bin path properly set?

      1 Reply Last reply
      0
      • L Offline
        L Offline
        luluzinha
        wrote on 14 Apr 2012, 01:14 last edited by
        #3

        Thanks you so much for this answer, but I have check the PATH so many times, look:
        C:\Qt\4.7.4\bin, I don't know what I need to do now.....help me!

        1 Reply Last reply
        0
        • X Offline
          X Offline
          XLeopard
          wrote on 14 Apr 2012, 01:38 last edited by
          #4

          You'd better show your error

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on 27 Jan 2014, 16:20 last edited by
            #5

            Hello,

            I think you have to set "QMAKESPEC = win32-msvc2008" pr similar in your system variables.
            Check your project options to find whether the QMAKESPEC is initialized correctly. By default i think Qt uses MingW compiler.

            If you want to use both MSVC and MingW then you need to have two different installations of Qt, once for each environment. Once you recompile one version with MSVC, you can no longer use it in MingW as the file formats are different.

            Best Regards
            Ansif

            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