Results 1 to 9 of 9

Thread: Qt 4.5 Installation problems

  1. #1
    Join Date
    Mar 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Qt 4.5 Installation problems

    Hi

    previously i had Qt 4.4.3 installed (eclipse integration environment.) on my laptop which is running Vista on a dell.
    i followed these instructions
    http://labs.trolltech.com/blogs/2007...ns-in-eclipse/
    nice set of instructions.

    Today after hearing about Qt 4.5 i decided to install that.
    i first uninstalled Qt 4.4.3, along with MingW.
    i then downloaded the 4.5 from
    http://www.qtsoftware.com/downloads

    i chose the SDK for windows 194Mb. after downloading i then double click and it begins to install. after it installed i was able to load the Qt Creator.
    i then tried to open some of the examples / demos. each time is would say could not locate a specific dll. i then modified my path to where that dll was located.
    for example qt\demos\affine\release , double click the .exe file in here and i get weird errors such as :

    _Z20qt_qFindChild_helperPK7QObjectRK7QStringRK11QM etaObject could not be located in the dynamic link library QtCore4.dll

    i was assuming with this new 4.5 is would be simpler to install.

  2. #2
    Join Date
    Feb 2009
    Posts
    13
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X

    Default Re: Qt 4.5 Installation problems

    I probably have no clue what I'm talking about... but if you didn't uninstall 4.4.3 then you should try doing that and then try to reinstall the sdk.

  3. #3
    Join Date
    Mar 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.5 Installation problems

    Hi
    yes that's what i did, i first uninstalled 4.4.3 which was working perfectly.

    now i have only a non working 4.5.

  4. #4
    Join Date
    Feb 2009
    Posts
    22
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.5 Installation problems

    Quote Originally Posted by FatTail View Post
    would say could not locate a specific dll. i then modified my path to where that dll was located.
    for example qt\demos\affine\release
    All the dlls you need are located at: qt\bin

  5. #5
    Join Date
    Mar 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.5 Installation problems

    yep i know where the dll's are but this does not help me.

    i have just tried (in Qt Creator) to open a .pro file.

    when i tried to build it i got the error message


    No valid Qt version set. Set one in Tools/Options
    Error while building project findfiles
    When executing build step 'QMake'
    Canceled build.

    so nothing much at all works.

    might just try deleting eveything and re-installing. failing that i might go back to to 4.4.3

  6. #6
    Join Date
    Mar 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.5 Installation problems

    some success at last.
    im now able to build projects from inside Creator.
    i also installed to c:\Qt45 rather than the c:\Qt\2009.01

    Still some strange things. when i open Creator i click on "Getting Started", all i get is a blank window pane (i wondering if this is a bug of Vista since i get this blank window pane sometimes from the download window).
    Also the installed qtdemo which has an icon in my windows start menu, this always crashes when i try it.

    other than that it seems quite nice

  7. #7
    Join Date
    Mar 2008
    Location
    Houston, Texas, USA
    Posts
    277
    Thanks
    9
    Thanked 17 Times in 17 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Maemo/MeeGo

    Default Re: Qt 4.5 Installation problems

    did you add the bin directory to the environment variables and restarted the cmd prompt. Changes require a command prompt restart >.>
    Qt-4.7.3 | Gentoo ~amd64 | KDE-4.7
    Aki IRC Client for KDE4 | Qt Documentation

  8. #8
    Join Date
    Mar 2009
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Qt 4.5 Installation problems

    i now have
    c:\Qt45\qt\bin;
    c:\Qt45\bin;
    c:\Qt45\mingw\bin;

    in my path.

    clicking on the \demo\.exe's and \examples\.exe's from windows seems to work now.

    so only probs i have now is the qt.demo app from windows start menu still does not work, and there is no help available in qt creator (just blank screens). these things are very minor.

  9. #9
    Join Date
    Mar 2009
    Posts
    25
    Thanked 2 Times in 2 Posts

    Default Re: Qt 4.5 Installation problems

    The dll in

    $(INSTALL_DIR)\qt\bin;
    $(INSTALL_DIR)\bin;

    are different.

    The ones in qt\bin are for general use.
    The ones in the second dir are for QtCreator.
    Make sure the first dir comes before the second dir in your PATH settings.
    You might not need the second dir in your path at all.

Similar Threads

  1. problem with installation
    By kalpana in forum Qt Programming
    Replies: 2
    Last Post: 4th November 2008, 11:24
  2. problems creating toolbar...(do see the attachment)!
    By sumit in forum Qt Programming
    Replies: 15
    Last Post: 10th September 2008, 11:23
  3. Problems with scope and C header functions
    By waldowoc in forum Newbie
    Replies: 5
    Last Post: 5th August 2008, 11:29
  4. do Qt4 installation depends on gcc version
    By quickNitin in forum Installation and Deployment
    Replies: 3
    Last Post: 3rd October 2006, 06:14

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.