Page 1 of 2 12 LastLast
Results 1 to 20 of 23

Thread: Newbie help again please! (Win XP SP3)

  1. #1
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Newbie help again please! (Win XP SP3)

    A year or more ago I wrestled as a complete beginner with QT/QT Creator and finally managed to do what I wanted.

    I have now installed the latest Creator 4.7.0 which is installed in C:\qt\2010.05

    So far so good. System auto-detects QT in path. However, when I try to run the 'animated tiltles' example I get 2 hard warnings -
    cannot find -lqtguid and a similar one.

    If I try to run a previously successful programme built under the old QT I get the same without the 'd' on the end.

    Most google hits seem to cover this problem with Arm installations and Suse, and I cannot find the problem anywhere for Windows.

    Wrestling help again much appreciated. Not much assistance on the QT help pages. Please be gentle!

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Newbie help again please! (Win XP SP3)

    You need to specify in your PATH (system variable) the dierctoy in which your Qt dlls are.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    Which dlls? I already have \bin in the path - are these not the ones?

  4. #4
    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: Newbie help again please! (Win XP SP3)

    Dlls with "d" at the end are debug versions which you apparently don't have in bin. Either build the app in release mode or provide debug versions of the libraries.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    It would be a great help if someone could guide me on what I need to download and install!

    I started with the SDK but got repetitive file hash errors in the download. I then ran the 'Creator' install package. That appears to be wrong too. Please note it is not just the debug dll's that are 'missing' - from post #1

    "If I try to run a previously successful programme built under the old QT I get the same without the 'd' on the end."

    Why on earth is an install programme not complete, or if I need to download something else, where am I guided on this on the QT pages?

  6. #6
    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: Newbie help again please! (Win XP SP3)

    Quote Originally Posted by mike phillips View Post
    I started with the SDK but got repetitive file hash errors in the download.
    Seems like a problem with your network connection.
    Last edited by wysota; 11th April 2011 at 14:17.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    Ran the sdk install again today and it completed this time. Still getting the cannot find' on build. Is anyone able to explain in SIMPLE TERMS what I am missing please? Where will I find these dlls?

  8. #8
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Newbie help again please! (Win XP SP3)

    Ran the sdk install again today and it completed this time.
    As you can see, the problem has to do with your own system and NOT with the Qt packages - thus, I don't think we can help you much, since we don't have access to your system.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  9. #9
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    Quote Originally Posted by mike phillips View Post
    Ran the sdk install again today and it completed this time. Still getting the cannot find' on build. Is anyone able to explain in SIMPLE TERMS what I am missing please? Where will I find these dlls?
    If you have succesfully downloaded and installed the SDK, you are not missing anything.

  10. #10
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    At last - thank you squidge. A shaft of light. Can YOU translate posts 2 and 3?

    "If you have successfully downloaded and installed the SDK" - this time it said 'finished' which I take to mean 'successfully', so I am hoping to find out here some pointers as to why it does not work.

  11. #11
    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: Newbie help again please! (Win XP SP3)

    The fact that the SDK was installed correctly doesn't mean your system is in a proper state. I believe you have tried many things while trying to solve your problem and it is important that you undo all the operations you have done such as copying dlls or changing paths.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  12. #12
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    OK - but I have not copied any dll's and only added the path c:\Qt\2010.05\\bin. That is all the 'many things' I have 'tried'. Why was that wrong? Are you saying uninstall the whole shebang and try again? If so, what 'path' to add next time?

  13. #13
    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: Newbie help again please! (Win XP SP3)

    I didn't say anything you did was wrong. I say it is impossible for us to determine the state of your system. Uninstall everything related to Qt, purge any Qt libs that might be in your system directory and install just the SDK. Then rebuilding (including the qmake step) your project should work.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  14. #14
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    Quote Originally Posted by mike phillips View Post
    OK - but I have not copied any dll's and only added the path c:\Qt\2010.05\\bin
    I suspect that path also contains qtcreator.exe and so as such it shouldn't be in in your path, or at least should be after the path containing Qtcored4.dll

    But the above is done by the installer so instead of modifying your system even more, remove everything you installed, remove any modifications and just install the full SDK (which includes QtCreator).

  15. #15
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    Squidge - finally got round to that, and threw everything in the dustbin and reinstalled.

    I now have QTcreator, but now when I run the the 'animated tiltles' example I get

    mingw32-make: Leaving directory `C:/Qt/2010.05/qt/examples/animation/animatedtiles-build-desktop'

    ..\animatedtiles\main.cpp:256:20: error: main.moc: No such file or directory

    mingw32-make[1]: *** [tmp/obj/release_shared/main.o] Error 1

    mingw32-make: *** [release-all] Error 2

    The process "C:/Qt/2010.05/mingw/bin/mingw32-make.exe" exited with code %2.
    Error while building project animatedtiles (target: Desktop)
    When executing build step 'Make'

    Several Googles all seem to produce different solutions. Anyone offer a fix? This all seems so difficult!

  16. #16
    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: Newbie help again please! (Win XP SP3)

    Did you run qmake prior to calling make?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  17. #17
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    I'm afraid I have no idea what I ran! I ran 'build' in Creator. Are you saying I have to manually call every process in QT? In a previous version I simply selected 'build' and it all complied and ran.

  18. #18
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    No, but some processes you wouldn't want to call every time (such as qmake) therefore they are seperate.

    So run Qmake, then click Build.

  19. #19
    Join Date
    Jan 2009
    Posts
    21
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    I'd like to start a bit earlier than that! The welcome page (Creator 2.01/Windows XP) 'Building and running an example' tutorial tells me that when I have selected 'animated titles' I get, at '2' 'Select targets for the project.' I don't. That page does not appear. I have

    Project Folder tree left
    Edit panel mid (main.cpp) and
    QT Reference Documentation right.

    What now?

  20. #20
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Newbie help again please! (Win XP SP3)

    As far as I'm aware you only have one target, so theres no use for that dialog?

    Now if you had multiple builds of Qt (different versions, different platforms, etc) that it would useful.

Similar Threads

  1. newbie
    By navid in forum Qwt
    Replies: 5
    Last Post: 23rd December 2009, 09:11
  2. Newbie Mac OS X problems
    By Vnuce in forum Newbie
    Replies: 9
    Last Post: 22nd October 2009, 15:48
  3. Newbie Questions
    By Pether in forum Newbie
    Replies: 9
    Last Post: 15th July 2009, 09:32
  4. Please help me. I'm newbie =)
    By Alex Snet in forum Newbie
    Replies: 1
    Last Post: 7th December 2008, 03:19
  5. Qt newbie
    By canleyemy in forum General Discussion
    Replies: 0
    Last Post: 28th January 2006, 04:26

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.