Results 1 to 11 of 11

Thread: Execution error

  1. #1
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Question Execution error

    hi,
    i m using Qt 4.2.2 open source with mingw compiler.
    wheni m executing the tutorial t14 or any one else then its giving the following error:

    c:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\ mingw32\bin\ld.exe: cannot find -lqtmaind
    collect2: ld returned 1 exit status
    mingw32-make[1]: ***[debug\mdi.exe] Error 1
    mingw32-make[1]: Leaving directory 'C:/Documents and settings/*some directory*/mdi1'
    mingw32-make[1]: *** [debug] Error 2

    can any1 help me that what can be the problem???

    shuchi
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Execution error

    You don't have debug libraries compiled. In your Start menu in the Qt section there should be a link "build debug libraries" (or something simmilar). Activate it and after some time you should have the libraries ready.

  3. The following user says thank you to wysota for this useful post:

    Shuchi Agrawal (8th February 2007)

  4. #3
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Execution error

    Looks like you are attempting to build a debug version of the example but don't have a debug version of Qt compiled. Either compile a release version of the example or compile a debug version of Qt (see the shortcut in the start menu).
    J-P Nurmi

  5. The following user says thank you to jpn for this useful post:

    Shuchi Agrawal (8th February 2007)

  6. #4
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Execution error

    i have added C:\mingw\mingw32\bin in environment variables and its working in qdeveloper IDE.
    thanks WYSOTA and J-P Nurmi :-)

    one more thing : wil qdeveloper IDE wont work with nmake or do i need make of mingw???
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

  7. #5
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Execution error

    As far as I know, only MinGW is supported.

    So says their website:
    Quote Originally Posted by qdevelop.org
    QDevelop requires Qt4, gcc under Linux or MinGW under Windows, possibly gdb for programs debugging and ctags for code completion.
    J-P Nurmi

  8. #6
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Execution error

    ok
    seriously thanks a lot :-)
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

  9. #7
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Execution error

    hi,
    i m using Qt 4.2.2 evaluation version of Commercial version with mingw compiler and qdeveloper.
    when i m executing the tutorial t1 then its giving the following error:
    hi,
    i m using Qt 4.2.2 open source with mingw compiler.
    wheni m executing the tutorial t14 or any one else then its giving the following error:

    Build(make)...
    C:/MinGW/bin/mingw32-make -f Makefile.Release
    mingw32-make[1]: Entering directory 'C:/Qt/4.2.2/examples/tutorial/t1'
    mingw32-make[1]: Leaving directory 'C:/Qt/4.2.2/examples/tutorial/t1'
    Makefile.release:61***missing separator. Stop.
    mingw32-make:***[release]Error2
    -----------------Build finished without error---------------------

    if this problem is with configuiring Qt with mingw then how to do tht because in doc its given with open source not for commercial version as there is no configure command in my version..

    if anyone faced the same problem then please help me. thanks
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

  10. #8
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Execution error

    Quote Originally Posted by Shuchi Agrawal View Post
    if this problem is with configuiring Qt with mingw then how to do tht because in doc its given with open source not for commercial version as there is no configure command in my version..
    As far as I know, the evaluation version of Qt cannot be rebuilt (the sources of Qt aren't even shipped with it, are they?).

    Anyway, are you using MSYS?
    J-P Nurmi

  11. #9
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Execution error

    the sources of Qt are not shipped with evaluation version.
    i m not using MSYS?
    will reinstalling do ?
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

  12. #10
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Execution error

    Have you installed the evaluation version from a binary installer package called:
    • qt-win-eval-4.2.2-vc60.exe (MS Visual C++ 6.0)
    • qt-win-eval-4.2.2-vs2003.exe (MS Visual Studio 2003)
    • qt-win-eval-4.2.2-vs2005.exe (MS Visual Studio 2005)

    ?

    I think these pre-built versions are meant to be used with the corresponding commercial compilers and I'm afraid it's not that simple to use them with MinGW. The open source version of Qt supports MinGW.
    J-P Nurmi

  13. #11
    Join Date
    Dec 2006
    Posts
    103
    Thanks
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Execution error

    yes you are right
    i got the point where i m wrong..
    thanks
    if u are online then can u help me in my new thread
    http://www.qtcentre.org/forum/f-gene...able-5585.html
    I worked on windows Xp with Qt 4.2.2(Open Source Version) and MinGw
    now i am trying the same things on Fedora Core 5 (linux-gcc) and Qt 4.2.2 open source edition.

Similar Threads

  1. Installation on Fedora Core 4
    By jcr in forum Installation and Deployment
    Replies: 3
    Last Post: 29th January 2009, 01:34
  2. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 04:19
  3. Qt-x11-commercial-src-4.2.0-snapshot-20060824 error
    By DevObject in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 23:31
  4. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  5. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.