Giter VIP home page Giter VIP logo

qupgrade's People

Contributors

donlakeflyer avatar julianoes avatar lorenzmeier avatar sjwilks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

qupgrade's Issues

Error when pressing cancel

The behaviour when pressing "Cancel" seems faulty:

Steps:

  1. Firmware is flashed in Advanced mode
  2. When flashing is finished, "Cancel" in the lower right is pressed
  3. Then, it seems like QUpgrade tries to flash the firmware again

Compile issue with QWebView

Unfortunately does currently not compile using Arch Linux and Ubuntu:

dialog.o: In function `Dialog::onDownloadRequested(QNetworkRequest const&)':
dialog.cpp:(.text+0x508): undefined reference to `QWebView::page() const'
dialog.cpp:(.text+0x510): undefined reference to `QWebPage::networkAccessManager() const'
dialog.o: In function `Dialog::Dialog(QWidget*)':
dialog.cpp:(.text+0x189f): undefined reference to `QWebView::page() const'
dialog.cpp:(.text+0x1afb): undefined reference to `QWebView::setHtml(QString const&, QUrl const&)'
dialog.o: In function `Ui_Dialog::setupUi(QDialog*)':
dialog.cpp:(.text._ZN9Ui_Dialog7setupUiEP7QDialog[_ZN9Ui_Dialog7setupUiEP7QDialog]+0x1b3): undefined reference to `QWebView::QWebView(QWidget*)'
dialog.cpp:(.text._ZN9Ui_Dialog7setupUiEP7QDialog[_ZN9Ui_Dialog7setupUiEP7QDialog]+0x22f): undefined reference to `QWebView::setUrl(QUrl const&)'
collect2: error: ld returned 1 exit status
make: *** [qupgrade] Error 1

Similar on Windows:

dialog.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QNetworkAccessManager * __thiscall QWebPage::networkAccessManager(void)const " (__imp_?networkAccessManager@QWebPage@@QBEPAVQNetworkAccessManager@@XZ) referenced in function "private: void __thiscall Dialog::onDownloadRequested(class QNetworkRequest const &)" (?onDownloadRequested@Dialog@@AAEXABVQNetworkRequest@@@Z)

...

dialog.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall QWebView::mousePressEvent(class QMouseEvent *)" (?mousePressEvent@QWebView@@MAEXPAVQMouseEvent@@@Z)

Upload after upload fails (Win)

It seems that the COM port on Windows do not get properly released/closed so QUpgrade fails to upload after it just uploaded before:

PX4 Uploader: Could not open interface

A Workaround is to close QUpgrade and open it again.

Compilation as part of QGC fails on Windows MSVS2010

Alter uploader.cpp:350 from if (board_id >= 0 && board_id < boardNames.length()) { to if (board_id < (uint32_t)boardNames.length()) {

For some reason MSVS2010 is promoting the comparison between signed and unsigned numbers into an error, breaking compilation. Unsure why.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.