How can you build and run the analogclock example



  • I have been attempting to build and run the analogclock example since Saturday, but I have ran into several issues. I first attempted to use 5.0.2, but then I moved onto RC1 due to a suggestion from the #qt irc channel on freenode. What I would like to do a build the analogclock example, and run it in debug from Visual Studio 2012. I not using Qt Creator.

    I have been able to build the visual studio project, but when I go to run in debug I get the error

    The program can't start because Qt5Guid.dll is missing from your computer. Try reinstalling the program to fix this problem.

    Question 1) How can I build Qt5Guid.dll using Visual Studio 2012 without using Qt Creator?

    As a test, I then tried to build and run release. I was able to build, but when I went to run I would get the error

    The program can't start because libGLESv2.dll is missing from your computer. Try reinstalling the program to fix this problem.

    Question 2) Where can I get the libGLESv2.dll that is required to run the sample for analogclock?

    (I also noticed that if I attempt to build other examples, it said I was missing the head for gles).


  • Moderators

    when do you receive the error message? when you try to start the application "manually" in the build directory? Or out of the VS IDE?

    Please also see "this":http://qt-project.org/doc/qt-5.0/qtdoc/deployment-windows.html



  • When I start the run the application from the VS IDE, which I would like to be able to do.


  • Moderators

    ok..then you may add the project properties or ensure that your PATH environment variable contains the path: "<qt-path>\qtbase\bin"



  • The path is correct, the problem is that I have no QtGui5d.dll anywhere. It is not included with RC1, it needs to be built. How can I build that .dll with Visual Studio 2012 without using Qt Creator?

    The RC1 that I have is from http://anychimirror101.mirrors.tds.net/pub/Qt/development_releases/qt/5.1/5.1.0-rc1/qt-windows-opensource-5.1.0-rc1-msvc2012-x86-offline.exe


  • Moderators

    i've just downloaded the installer you've posted and all libraries are contained: <Qt-install-dir>\5.1.0-rc1\msvc2012\bin


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.