[Qt-interest] problems implementing QHelpEngine !

Velusamy, Baskar Baskar.Velusamy at chevron.com
Wed Jul 8 07:51:26 CEST 2009


HI 

   it seems like there is some problem in QT plug-ins,   copy QT plug-in
directory to your   exactable location. Please check below reference
and check whether it works..

 

Regards

Baskar

 

     

 

 

 

Qt Plugins

Your application may also depend on one or more Qt plugins, such as the
JPEG image format plugin or a SQL driver plugin. Be sure to distribute
any Qt plugins that you need with your application, and note that each
type of plugin should be located within a specific subdirectory (such as
imageformats or sqldrivers) within your distribution directory, as
described below.

Note: If you are deploying an application that uses QtWebKit to display
HTML pages from the World Wide Web, you should include all text codec
plugins to support as many HTML encodings possible.

The search path for Qt plugins (as well as a few other paths) is
hard-coded into the QtCore library. By default, the first plugin search
path will be hard-coded to be a plugins subdirectory of the Qt
installation:

 C:<path to Qt>\plugins

Pre-determined paths like this one have certain disadvantages. For
example, they may not exist on the target machine. For that reason you
need to examine various alternatives to make sure that the Qt plugins
are found:

*	Using qt.conf. This is the recommended approach since it
provides the most flexibility.
*	Using QApplication::addLibraryPath() or
QApplication::setLibraryPaths().
*	Using a third party installation utility to change the
hard-coded paths in the QtCore library.

The How to Create Qt Plugins document outlines the issues you need to
pay attention to when building and deploying plugins for Qt
applications.

[Deploying Qt Applications]

 

 

 

From: qt-interest-bounces at trolltech.com
[mailto:qt-interest-bounces at trolltech.com] On Behalf Of Sarvesh Saran
Sent: Tuesday, July 07, 2009 8:33 PM
To: qt-interest at trolltech.com
Subject: [Qt-interest] problems implementing QHelpEngine !

 

Hi,

 

I am trying to provide Help in my application in a manner similar to the
following QT Quarterly article :

 

http://doc.trolltech.com/qq/qq28-qthelp.html

 

I am not using qmake to build the application..

 

I am trying to link together all Qt Libraries statically into my
application.

 

After linking libQtsql.a and libQtHelp.a , the application does compile
but crashes on start up with the following error..

 

QSqlDatabase: QSQLITE driver not loaded

QSqlDatabase: available drivers: 

Segmentation fault

 

Any idea why this might me happening? Any help would be greatly
appreciated.

 

Thanks,

Sarvesh

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090707/dcab2b06/attachment.html 


More information about the Qt-interest-old mailing list