Results 1 to 9 of 9

Thread: problem with Qt/ Windows--pls help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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: problem with Qt/ Windows--pls help

    Do you use the "Qt command prompt" (there's a link in Start menu in the same place as links to Qt Designer and other Qt tools)?

  2. #2
    Join Date
    Oct 2006
    Posts
    75
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    10

    Default Re: problem with Qt/ Windows--pls help

    thanks jecek for ur reply.
    i tried with it, but still the problem persists. im mentioning the details here, pls hv a look at it

    1. after i entered into qt command prompt the following msg appeared:

    "Setting up a MinGW/Qt only environment...
    -- QTDIR set to C:\Qt\4.3.0
    -- PATH set to C:\Qt\4.3.0\bin
    -- Adding C:\MinGW\bin to PATH
    -- Adding C:\WINDOWS\System32 to PATH
    -- QMAKESPEC set to win32-g++ "

    2. i wrote hello.cpp and did "qmake -project;qmake;make", but it gave this error:

    "C:\Qt\4.3.0\swamy\hello>make
    mingw32-make -f Makefile.Release
    Makefile.Release:116: *** multiple target patterns. Stop.
    mingw32-make[1]: Entering directory `C:/Qt/4.3.0/swamy/hello'
    mingw32-make[1]: Leaving directory `C:/Qt/4.3.0/swamy/hello'
    mingw32-make: *** [release] Error 2"


    I compiled qt-4.3.0 and mingw and configured qt like this:

    c:\qt\4.3.0\configure.exe -platform win32-g++


    what went wrong..pls suggest and help...thank u.

  3. #3
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows
    Thanked 86 Times in 81 Posts

    Default Re: problem with Qt/ Windows--pls help

    Make sure INCLUDE and LIB env vars do not contain paths to msvc include & library dirs and rerun qmake.

  4. #4
    Join Date
    Jan 2008
    Posts
    72
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Symbian S60
    Thanks
    3
    Thanked 4 Times in 4 Posts

    Thumbs up Re: problem with Qt/ Windows--pls help

    This is only problem of the path .
    Properly set the PATH which is specify in Qt command prompt into Environment variables.....
    I hope it will help you

  5. #5
    Join Date
    Apr 2008
    Location
    Fons Outre-Gardons
    Posts
    16
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    2
    Thanked 3 Times in 2 Posts

    Default Re: problem with Qt/ Windows--pls help

    Did you included these elements into your path?

    C:\MinGW\bin;C:\MinGW\libexec\gcc\mingw32\3.4.2;C: \MinGW\lib;C:\MinGW\include

  6. #6
    Join Date
    Oct 2006
    Posts
    75
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    10

    Default Re: problem with Qt/ Windows--pls help

    thanks guys,,,

    yes, i came to know abt that mvc variables in the include and lib path last night. and finally, what i tried is using plain zipped version of qt-4.3.0 (not min-exe version). i got it right in compilation, i hv not exected any qt programs yet..but im sure it will be thru. thank u very much for ur suggestions..
    bye

Similar Threads

  1. Qt + Portmidi in Windows... libraries problem
    By hipogrito in forum Newbie
    Replies: 2
    Last Post: 19th June 2009, 00:01
  2. problem with menu entries for mdi windows
    By y.shan in forum Qt Programming
    Replies: 3
    Last Post: 18th September 2007, 07:48
  3. QTableView Performance Problem on Windows
    By umitoz in forum Qt Programming
    Replies: 1
    Last Post: 31st August 2007, 16:47
  4. Printing problem in windows
    By joseph in forum Qt Programming
    Replies: 6
    Last Post: 12th July 2007, 08:04
  5. Thread problem with windows
    By vratojr in forum Qt Programming
    Replies: 17
    Last Post: 16th June 2006, 08:34

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.