Results 1 to 20 of 30

Thread: Qt4 -vs6-w2k

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2006
    Posts
    15
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt4 -vs6-w2k

    Quick check of executables follows:

    C:\Qt\projects\helloWorld>qmake
    'qmake' is not recognized as an internal or external command,
    operable program or batch file.

    C:\Qt\projects\helloWorld>mingw32-make
    mingw32-make: *** No targets specified and no makefile found. Stop.

  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: Qt4 -vs6-w2k

    Quote Originally Posted by dKoder View Post
    C:\Qt\projects\helloWorld>qmake
    'qmake' is not recognized as an internal or external command,
    operable program or batch file.
    Have you tried it from the "Qt 4.x.x Command Prompt"? Is "C:\Qt\4.1.2\bin" included in PATH environment variable?

  3. #3
    Join Date
    Nov 2006
    Posts
    15
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt4 -vs6-w2k

    To answer your question, no. However when I added "C:\QT\4.2.1\bin" to the path, run qmake and mingw32 I actually get an executable. "hello.exe" However when I run the executable I get several errors resulting in 'can find *.dll'. I tried moving the EXE to the QT directory, which is in the PATH, but I get the same errors. But, at least I'm creating an exe now. So there is now a dim light at the end of this very long tunnel.

    Thanks for sticking with me!

  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: Qt4 -vs6-w2k

    Quote Originally Posted by dKoder View Post
    when I run the executable I get several errors resulting in 'can find *.dll'.
    Copy all of those DLLs to the directory where your executable is and it should run. You can also add C:\Qt\4.2.1\lib to some environment variable, but I don't remember which one (search the MSDN for information where windows looks for DLLs and in what order).

  5. #5
    Join Date
    Nov 2006
    Posts
    15
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt4 -vs6-w2k

    Now I'm really getting somewhere. I have an working exe .

    If you remember you had me to rerun Configure without any parameters. Do I dare run it again with the desired parameters?

  6. #6
    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: Qt4 -vs6-w2k

    Quote Originally Posted by dKoder View Post
    If you remember you had me to rerun Configure without any parameters. Do I dare run it again with the desired parameters?
    It should work without any problems, just remember that if you want to compile PostgreSQL or MySQL driver, you have to add -I and -L options with proper values.

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.