Results 1 to 10 of 10

Thread: Getting Started

Hybrid View

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

    Default Re: Getting Started

    Qt Code:
    1. make --makefile=c:\test\Makefile
    To copy to clipboard, switch view to plain text mode 

    I've tried several switches but no luck...

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: Getting Started

    Does it work if you invoke:
    Qt Code:
    1. cd c:\test\
    2. make
    To copy to clipboard, switch view to plain text mode 
    ?

  3. #3

    Default Re: Getting Started

    Zing!!!

    That did the trick. Although it compiled as release not debug. Does this mean I have too add my project path to environment variables?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 976 Times in 912 Posts

    Default Re: Getting Started

    Quote Originally Posted by Hockey View Post
    That did the trick. Although it compiled as release not debug.
    Most likely it's because you don't have the debug version of Qt libraries. Look for "Build Qt libraries in debug mode" or something similar in the Start menu.

    Quote Originally Posted by Hockey View Post
    Does this mean I have too add my project path to environment variables?
    No, I've just reproduced your problem on my system. It seems that qmake generates Makefiles which expect that the .pro file is in the current directory. So you just have to make sure that your project's directory is the current one.

Similar Threads

  1. Replies: 2
    Last Post: 30th March 2007, 09:10
  2. Replies: 10
    Last Post: 20th March 2007, 23:19
  3. How do I get started?
    By neigaard in forum Newbie
    Replies: 2
    Last Post: 12th March 2007, 09:42
  4. Replies: 10
    Last Post: 7th April 2006, 19:23

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.