FS#9344 - Mutlitarget WPS Editor
Attached to Project:
Rockbox
Opened by krz (krz) - Sunday, 31 August 2008, 10:06 GMT
Last edited by Dominik Wenger (Domonoky) - Wednesday, 03 September 2008, 19:25 GMT
Opened by krz (krz) - Sunday, 31 August 2008, 10:06 GMT
Last edited by Dominik Wenger (Domonoky) - Wednesday, 03 September 2008, 19:25 GMT
|
DetailsThis patch enables ability to switch different targets on runtime. Currently not all targets available.
|
This task depends upon
Closed by Dominik Wenger (Domonoky)
Wednesday, 03 September 2008, 19:25 GMT
Reason for closing: Accepted
Wednesday, 03 September 2008, 19:25 GMT
Reason for closing: Accepted
One of the missing things is, the automatic build of the libs.
You could change the build command for libwps in the gui.pro to call the buildall shell script... :-)
Also it seems its only possible to build libwps libs for colour targets. But that can be fixed later.
Next to that I still get these error messages:
9 libs found
"ERR: failed to resolve <get_model_name>"
"libwps_c200.so" "unknown"
"ERR: failed to resolve <get_model_name>"
"libwps_e200.so" "unknown"
"ERR: failed to resolve <get_model_name>"
"libwps_gigabeatf.so" "unknown"
"ERR: failed to resolve <get_model_name>"
"libwps_gigabeats.so" "unknown"
"ERR: failed to resolve <get_model_name>"
"libwps_h10.so" "unknown"
"libwps_h10_5gb.so" "h10_5gb"
"ERR: failed to resolve <get_model_name>"
"libwps_ipodcolor.so" "unknown"
"ERR: failed to resolve <get_model_name>"
"libwps_ipodnano.so" "unknown"
"ERR: failed to resolve <get_model_name>"
"libwps_ipodvideo.so" "unknown"
EDIT:
A fix for this is (I'm too lazy to make a one-line patch):
change l.225 in qwpsdrawer.cpp to this:
QString modelName = getModelName(qApp->applicationDirPath()+"/"+libs[i].fileName());
EDIT2:
Building on MingW on Windows seems to be broken for me (using buildall.bat), I can only build by doing 'qmake && make release' in gui & gui/src/QPropertyEditor manually..
What do you think?
Error "ERR: failed to resolve <get_model_name>" is solved.
To build on mingw you should add your Qt/bin and mingw/bin dirs to PATH and run script from Qt command line.
Your syntax highliting added.