Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-05

lazarus windows and qt

11 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin

I finally convinced myself to try installing QT, despite the massive size, and the huge amount of files that seem mre than just a runtime (designer.exe surely is not needed to run lazarus?)

So I got qt 4-6-2 installed from qt-win-opensource-4.6.2-vs2008 I also got the Qt4Pas5.dll
Added all that to the PATH environment

And no I get the error (when trying to start lazarus) "this application has failed to start because mingwm10.dll was not found ...."

Such a dll is nowhere in the QT installation

Any ideas?

Martin

Reply by email

Henry Vermaak
to Martin
Martin wrote 14 lines
I finally convinced myself to try installing QT, despite the massive size, and the huge amount of files that seem mre than just a runtime (designer.exe surely is not needed to run lazarus?) So I got qt 4-6-2 installed from qt-win-opensource-4.6.2-vs2008 I also got the ?Qt4Pas5.dll Added all that to the PATH environment And no I get the error (when trying to start lazarus) "this application has failed to start because mingwm10.dll was not found ...." Such a dll is nowhere in the QT installation Any ideas?

Your qt must be compiled with mingw, so you need to get this dll from a mingw installation. Google broken today?

Henry

Reply by email

zeljko
to Martin: I finally convinced myself to try installing QT, despite the massive size, and the huge…
Martin wrote 10 lines
I finally convinced myself to try installing QT, despite the massive size, and the huge amount of files that seem mre than just a runtime (designer.exe surely is not needed to run lazarus?) So I got qt 4-6-2 installed from qt-win-opensource-4.6.2-vs2008 I also got the Qt4Pas5.dll Added all that to the PATH environment And no I get the error (when trying to start lazarus) "this application has failed to start because mingwm10.dll was not found ...."

it must be with qt dlls otherwise you downloaded wrong qt version - it must be mingw version not visual studio one.

Reply by email

zeljko
to Henry Vermaak: Your qt must be compiled with mingw, so you need to get this dll from a mingw…
Henry Vermaak wrote 6 lines
On 11 May 2010 16:51, Martin wrote: > I finally convinced myself to try installing QT, despite the massive > size, and the huge amount of files that seem mre than just a runtime > (designer.exe surely is not needed to run lazarus?) > > So I got qt 4-6-2 installed from qt-win-opensource-4.6.2-vs2008

this is wrong -> qt-win-opensource-4.6.2-vs2008
This is correct one:
http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.2-mingw.exe

Reply by email

Martin
to zeljko
zeljko wrote 14 lines
On Tuesday 11 May 2010 18:02, Henry Vermaak wrote: > On 11 May 2010 16:51, Martin wrote: > >> I finally convinced myself to try installing QT, despite the massive >> size, and the huge amount of files that seem mre than just a runtime >> (designer.exe surely is not needed to run lazarus?) >> >> So I got qt 4-6-2 installed from qt-win-opensource-4.6.2-vs2008 >> this is wrong -> qt-win-opensource-4.6.2-vs2008 This is correct one: http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.2-mingw.exe

That was what I did fear the answer would be.....

How does a none tech person use QT on Windows, then => because the above installation asks you where youre mingw installation is => So in order to use QT, you must first install mingw by hand too.....

yes there is the QT-IDE-full-development environment, which supposedly contains all of it => but a none tech (or none developer) would not need to install a full IDE, just to use an app that needs QT?

So (putting aside that I want to use Lazarus, and I am a developer), If I wasn't ... => it would be trouble to use anything that is based on QT... => that can't possible be.

so where is the point I am missing?

(Sorry this is off topic to lazarus)

Martin

Reply by email

Martin
to Martin
Martin wrote 18 lines
That was what I did fear the answer would be..... How does a none tech person use QT on Windows, then => because the above installation asks you where youre mingw installation is => So in order to use QT, you must first install mingw by hand too..... yes there is the QT-IDE-full-development environment, which supposedly contains all of it => but a none tech (or none developer) would not need to install a full IDE, just to use an app that needs QT? So (putting aside that I want to use Lazarus, and I am a developer), If I wasn't ... => it would be trouble to use anything that is based on QT... => that can't possible be. so where is the point I am missing? (Sorry this is off topic to lazarus)

In other words, if I was a user, that just wanted to use Lazarus as text editor =>
all I needed are the DLL

but if I download QT => I always get:
demos, examples, binaries, docs, tools => none of them are needed...

Reply by email

Henry Vermaak
to Martin: That was what I did fear the answer would be..... How does a none tech person use QT on…
Martin wrote 36 lines
On 11/05/2010 17:11, zeljko wrote: > > On Tuesday 11 May 2010 18:02, Henry Vermaak wrote: > >> >> On 11 May 2010 16:51, Martin ?wrote: >> >>> >>> I finally convinced myself to try installing QT, despite the massive >>> size, and the huge amount of files that seem mre than just a runtime >>> (designer.exe surely is not needed to run lazarus?) >>> >>> So I got qt 4-6-2 installed from qt-win-opensource-4.6.2-vs2008 >>> > > this is wrong -> ?qt-win-opensource-4.6.2-vs2008 > This is correct one: > http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.2-mingw.exe > That was what I did fear the answer would be..... How does a none tech person use QT on Windows, then => because the above installation asks you where youre mingw installation is => So in order to use QT, you must first install mingw by hand too..... yes there is the QT-IDE-full-development environment, which supposedly contains all of it => but a none tech (or none developer) would not need to install a full IDE, just to use an app that needs QT? So (putting aside that I want to use Lazarus, and I am a developer), If I wasn't ... => it would be trouble to use anything that is based on QT... => that can't possible be. so where is the point I am missing?

That the app that uses QT would distribute all the necessary libs?

Henry

Reply by email

Henry Vermaak
to Martin
Martin wrote 6 lines
On 11/05/2010 17:18, Henry Vermaak wrote: > > That the app that uses QT would distribute all the necessary libs? > Raises the question: why doesn't lazarus...

Because there is no binary lazarus-qt release.

Reply by email

zeljko
to Martin: That was what I did fear the answer would be..... How does a none tech person use QT on…
Martin wrote 18 lines
On 11/05/2010 17:11, zeljko wrote: > On Tuesday 11 May 2010 18:02, Henry Vermaak wrote: >> On 11 May 2010 16:51, Martin wrote: >>> I finally convinced myself to try installing QT, despite the massive >>> size, and the huge amount of files that seem mre than just a runtime >>> (designer.exe surely is not needed to run lazarus?) >>> >>> So I got qt 4-6-2 installed from qt-win-opensource-4.6.2-vs2008 > > this is wrong -> qt-win-opensource-4.6.2-vs2008 > This is correct one: > http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.2-mingw.exe That was what I did fear the answer would be..... How does a none tech person use QT on Windows, then => because the above installation asks you where youre mingw installation is => So in order to use QT, you must first install mingw by hand too.....

no, it's included in package.

Show quoted text 9 lines
yes there is the QT-IDE-full-development environment, which supposedly contains all of it => but a none tech (or none developer) would not need to install a full IDE, just to use an app that needs QT? So (putting aside that I want to use Lazarus, and I am a developer), If I wasn't ... => it would be trouble to use anything that is based on QT... => that can't possible be. so where is the point I am missing?

there's no missed point. Qt is missing dll only packages :) So we can ask nokia to allow us to pack dll pack, then there will not be problem.

zeljko

Reply by email

Martin
to zeljko
zeljko wrote 26 lines
On Tuesday 11 May 2010 18:15, Martin wrote: > On 11/05/2010 17:11, zeljko wrote: > >> On Tuesday 11 May 2010 18:02, Henry Vermaak wrote: >> >>> On 11 May 2010 16:51, Martin wrote: >>> >>>> I finally convinced myself to try installing QT, despite the massive >>>> size, and the huge amount of files that seem mre than just a runtime >>>> (designer.exe surely is not needed to run lazarus?) >>>> >>>> So I got qt 4-6-2 installed from qt-win-opensource-4.6.2-vs2008 >>>> >> this is wrong -> qt-win-opensource-4.6.2-vs2008 >> This is correct one: >> http://get.qt.nokia.com/qt/source/qt-win-opensource-4.6.2-mingw.exe >> > That was what I did fear the answer would be..... > > How does a none tech person use QT on Windows, then => because the above > installation asks you where youre mingw installation is => So in order > to use QT, you must first install mingw by hand too..... > no, it's included in package.

Not here, that was what made me wonder (it definetly has the size, as if it would include them)
My whole story (or most parts of it)

I downloded the qt-win-opensource-4.6.2-mingw.exe
=> it ask me where my mingw is, because it needs gcc => it refuses to install without

So I try the other one, and it installs, but lazarus doesn't start

Now I have f9inally submitted to do, what I wanted to avoid:
- I installed the whole qt IDE
=> deleted 99% of what it installed
=> cleaned the mess from my start-menu
=> and it works

Well actually, it almost worked:
=> I got a range check error, because by default I build my lazarus whith range checks, and other checks.

So I needed to recompile again, without range-checks and now it works

And all, only so I can test occasionally that my changes to synedit, work on other platforms too....

and for some reason, all the stacktrace I can get is: [FORMS.PP] ExceptionOccurred
Sender=ERangeError
Exception=Range check error
Stack trace:
$005F6691 line 13869 of qt45.pas
$10109781
and lots of addresses without any line info

Show quoted text 16 lines
> yes there is the QT-IDE-full-development environment, which supposedly > contains all of it => but a none tech (or none developer) would not need > to install a full IDE, just to use an app that needs QT? > > So (putting aside that I want to use Lazarus, and I am a developer), If > I wasn't ... => it would be trouble to use anything that is based on > QT... => that can't possible be. > > so where is the point I am missing? > there's no missed point. Qt is missing dll only packages :) So we can ask nokia to allow us to pack dll pack, then there will not be problem.

Great, I am not the only one...

Reply by email