Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[solved] how to use fixqt4header.pl
SherifOmran last edited by SherifOmran
i wonder what is the sysntax for fixqt4header.pl
it keeps on asking about many environment parameters. I recently installed Qt5.9.1 to port an application written by qt4.8.7
Also, inside the fixqt4header.pl, it is written, this is part of qt porting tools?
where are these tools?
thanks in advance
A Former User last edited by
Hi! A good general porting guide can be found on our wiki. To answer your specific question,
#includedirectives from Qt4 names to their corresponding Qt5 ones. Let's say you have a directory
/home/omran/myproject/srccontaining files for a Qt4-based project.
- open a terminal
cdinto said directory
fixqt4headers.plwith the parameter
XXXpoints to your Qt5 installation, something like
If everything went well, it will print something like:
Done. Modified 23 of 42 file(s).
SherifOmran last edited by
thank you, thats fine. I have another problem with sql static call and made another thread for it. I would appreciate if you help, thank you.