[Development] How to modify the hard code paths built in QtCoreX.dll

Loaden loaden at gmail.com
Wed Apr 25 12:50:01 CEST 2012


As we know the qt paths is hard code
in qtbase\src\corelib\global\qconfig.cpp
My question:
There have any way to modify (replace)  the hard code paths built in
QtCore5.dll ?
Thanks a lot!

static const char qt_configure_prefix_path_strs[][12 + 512] = {
>     "qt_prfxpath=D:\\qpSOFT\\Projects\\Qt5\\qtbase",
>     "qt_docspath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\doc",
>     "qt_hdrspath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\include",
>     "qt_libspath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\lib",
>     "qt_binspath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\bin",
>     "qt_plugpath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\plugins",
>     "qt_impspath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\imports",
>     "qt_datapath=D:\\qpSOFT\\Projects\\Qt5\\qtbase",
>     "qt_trnspath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\translations",
>     "qt_xmplpath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\examples",
>     "qt_tstspath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\tests",
> #ifdef QT_BUILD_QMAKE
>     "qt_ssrtpath=",
>     "qt_hpfxpath=D:\\qpSOFT\\Projects\\Qt5\\qtbase",
>     "qt_hbinpath=D:\\qpSOFT\\Projects\\Qt5\\qtbase\\bin",
>     "qt_hdatpath=D:\\qpSOFT\\Projects\\Qt5\\qtbase",
> #endif
> };



-- 
Please don't ask where I come from, It's a shame!
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120425/61ea8120/attachment.html>


More information about the Development mailing list