New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[qmlsettings] Port to qt5. #2
Conversation
can you clarify what doesn't work with USB? |
return a.exec(); | ||
QGuiApplication* application; | ||
QQuickView* view; | ||
#ifdef HAS_BOOSTER |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preprocessor directives are supposed to start at column 0, so remove indentation on this and the #else / #endif
(17:24:32) [ >] qrc:/qml/usb/USBModeSettings.qml:81: Unable to assign [undefined] to QString |
add a bunch of console.log statements and see what precisely it isn't getting? |
The code in question is this: text: { |
Context menu works ok though, this error is probably due to the fact that there is no mode to begin with. |
well, what i'm suggesting is that at the top of text: {} you add: .. etc and see exactly what is going on. it could well be the default case messing up, if so just add a return "Unknown mode" default I guess |
I added the default case too, shouldn't be messed up now. |
nice work! |
Porting to Qt5, USB page not working in N9 and can't test it in a VM. Is this a problem, the enums are ok though?