Viktor Szakáts wrote:
>
> By fresh sources I meant fresh source tree. You probably
> had some old qts lib from the times where the qt subsystems
> weren't moved to separate libs.
>
Yes, files were present in hbqt/obj/win/mingw but were hidden.
Now lib size is fine.
Next question: hbqts.hbc
===================
#
# $Id: hbqts.hbc 13519 2010-01-09 00:40:40Z vszakats $
#
incpaths=.
{allwin}libpaths=${HB_WITH_QT}\..\lib
libs=hbqts
libs=hbqtcores hbqtguis hbqtnetworks
{win}libs=version shlwapi
{allwin}libs=QtCore QtGui QtNetwork QtUiTools
{allwin}libs=psapi
{allgcc}libs=supc++
{win|os2}hbcppmm=yes
gui=yes
gt=gtnul
Here
{allwin}libs=QtCore QtGui QtNetwork QtUiTools
NOT
{allwin}libs=QtCore4 QtGui4 QtNetwork4 QtUiTools
OR am I missing something?
hbqts.hbc - as is - QtCore lib could not be found.
.
After changing as above, I get:
.
Processing environment options: -compiler=mingw
Processing configuration: c:\harbour_dev\harbour\mingw\bin\hbmk.cfg
Linking... hbide.exe
esolving QObject::staticMetaObject by linking to
__imp___ZN7QObject16staticMetaObjectE (auto-import)
esolving QListData::shared_null by linking to
__imp___ZN9QListData11shared_nullE (auto-import)
esolving QString::codecForCStrings by linking to
__imp___ZN7QString16codecForCStringsE (auto-import)
.
.
.
esolving QMapData::shared_null by linking to
__imp___ZN8QMapData11shared_nullE (auto-import)
esolving QSyntaxHighlighter::staticMetaObject by linking to
__imp___ZN18QSyntaxHighlighter16staticMetaObjectE (auto-import)
our_dev/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
warning: auto-importing has been activated without --enabl
import specified on the command line.
ould work unless it involves constant data structures referencing symbols
from auto-imported DLLs.
hbIDE.exe is built, but size is exactly the same as of with dynamic linking.
And when I run, voila standard Windows erro box showing :
The application failed to initialize properly (0x0000005). Click on OK to
terminate...
Do I need to build Qt itself for static linking ? If yes, any tips ...
-----
enjoy hbIDEing...
Pritpal Bedi
_a_student_of_software_analysis_&_design_
--
View this message in context:
http://n2.nabble.com/hbQT-Static-Linking-What-extra-is-needed-tp4651480p4651861.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour