Results 1 to 7 of 7

Thread: Qt4 + Eclipse problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1
    Thanked 29 Times in 27 Posts

    Default Re: Qt4 + Eclipse problems

    Quote Originally Posted by Bug80 View Post
    Ok, it works now.

    Turns out I had to start a "C++ project --> Makefile project" (apparently in previous versions of Eclipse you could start a new "C/C++ Makefile project" directly, like described in the tutorial).

    I now have a different problem though. I can compile Debug versions of QT4 projects without problems, but when I try to execute a compiled Release I get the following error:

    "The procedure enty point _Z5qFreePv could not be located in the dynamic link library QtCore4.dll"

    Any ideas? I compiled Qt4 manually using "configure + make".
    Is Qt's bin directory in your PATH variable?
    I'm a rebel in the S.D.G.

  2. #2
    Join Date
    May 2008
    Posts
    4

    Default Re: Qt4 + Eclipse problems

    Quote Originally Posted by lyuts View Post
    Is Qt's bin directory in your PATH variable?
    Yes, it is.

    I just re-compiled Qt using the installation package (.exe), and now it works.

    I can think of two possible reasons for this:

    1) The installation package warned that my MinGW version is too new, which may lead to problems. Therefore I let the installer download the proper (older) MinGW.

    2) It turned out I have some other versions of QtCore4.dll, for example in the MikTeX\bin directory, which was *also* in my PATH. This time I've put the path to Qt\bin in front of all the other directories in the PATH string, so that the correct dll will be found first.

    I think one of these two options solved my problem.

  3. #3
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    1
    Thanked 29 Times in 27 Posts

    Default Re: Qt4 + Eclipse problems

    Bug80, what version you MinGW did you use for the first time?
    I'm a rebel in the S.D.G.

  4. #4
    Join Date
    May 2008
    Posts
    4

    Default Re: Qt4 + Eclipse problems

    Quote Originally Posted by lyuts View Post
    Bug80, what version you MinGW did you use for the first time?
    The latest version (5.1.4). I believe this comes with GCC 3.4.5

    I don't know which version of MinGW comes with Qt (any ideas as to how to find that out?). The GCC version is 3.4.2.

    I remember the installer of Qt complaining about an incorrect version of w32_api.h with the newer GCC version.

Similar Threads

  1. Replies: 7
    Last Post: 22nd December 2010, 09:13
  2. A Guide to Install MinGW, Qt4 and Eclipse Integration on Windows XP
    By shiyutang in forum Installation and Deployment
    Replies: 10
    Last Post: 5th August 2009, 05:03
  3. Qt integration with Eclipse
    By Dougie1610 in forum Newbie
    Replies: 8
    Last Post: 3rd April 2008, 00:37
  4. Qt Eclipse integration problem!!!!
    By mismael85 in forum Installation and Deployment
    Replies: 4
    Last Post: 13th March 2008, 15:45
  5. Howto use Eclipse with QT4 in 10 steps
    By the_bis in forum Newbie
    Replies: 3
    Last Post: 28th January 2007, 21:21

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.