Results 1 to 11 of 11

Thread: Error Compiling with cmd prmpt

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: Error Compiling with cmd prmpt

    first I go into the folder where my .cpp file is , then i do qmake -project and then I do qmake yellow.cpp and then i get those errors

  2. #2
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Error Compiling with cmd prmpt

    Quote Originally Posted by messifanboy View Post
    then I do qmake yellow.cpp and then i get those errors
    This is the problem.
    You doesn't need to do that. Your 1st and second step was fine. So now your steps shall be.
    1. "QMake -poject" (To generate .pro file)
    2. "QMake" (To generate make files)
    3. "nmake" (To build the project with Microsoft compiler)

  3. #3

    Default Re: Error Compiling with cmd prmpt

    When i do the third step i get this
    'nmake' is not recognized as an internal or external command,
    operable program or batch file.

    And i just installed the Qt framework , don't have visual studio

  4. #4
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Error Compiling with cmd prmpt

    Quote Originally Posted by messifanboy View Post
    When i do the third step i get this
    'nmake' is not recognized as an internal or external command,
    operable program or batch file.
    This is because, it cannot find the compiler on your machine.
    Quote Originally Posted by messifanboy View Post
    And i just installed the Qt framework , don't have visual studio
    I assume, you used binary installer for that.
    In order to get your application running, you must have an IDE.
    Use QtCreator.

  5. #5

    Default Re: Error Compiling with cmd prmpt

    i have installed Qtcreator also but still get the problem

  6. #6
    Join Date
    Dec 2007
    Posts
    628
    Thanks
    3
    Thanked 89 Times in 87 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Error Compiling with cmd prmpt

    Please use Creator tutorial and docs.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.