Skip to content
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

[branch rtklib_2.4.3] Building Qt app fails with getmain.cpp:507:45: error: ‘class QDropEvent’ has no member named ‘position’ #31

Open
dreirund opened this issue Feb 15, 2024 · 4 comments

Comments

@dreirund
Copy link

dreirund commented Feb 15, 2024

When I build the Qt app (Qt5) (branch rtklib_2.4.3), it fails for me with getmain.cpp:507:45: error: ‘class QDropEvent’ has no member named ‘position’:

make[2]: Entering directory '/tmp/makepkg/build/rtklib-qt-git/src/RTKLIB/app/qtapp/rtkget_qt'
g++ -c -pipe -g -std=gnu++11 -Wall -Wextra -D_REENTRANT -fPIC -D_RTLDLL -DNO_STRICT -DTRACE -DENAGLO -DENAQZS -DENAGAL -DENACMP -DENAIRN -DNFREQ=5 -DNEXOBS=3 -DSVR_REUSEADDR -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../../src -I../appcmn_qt -I/usr/include/qt -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtGui -I/usr/include/qt/QtCore -I. -I. -I/usr/lib/qt/mkspecs/linux-g++ -o getmain.o getmain.cpp
getmain.cpp: In member function ‘virtual void MainForm::dropEvent(QDropEvent*)’:
getmain.cpp:507:45: error: ‘class QDropEvent’ has no member named ‘position’
  507 |     if (stationListWidget == childAt(event->position().toPoint()))
      |                                             ^~~~~~~~
make[2]: *** [Makefile:1236: getmain.o] Error 1
make[2]: Leaving directory '/tmp/makepkg/build/rtklib-qt-git/src/RTKLIB/app/qtapp/rtkget_qt'
make[1]: *** [Makefile:117: sub-rtkget_qt-install_subtargets] Error 2

Regards!

@dreirund dreirund changed the title Building Qt app fails with getmain.cpp:507:45: error: ‘class QDropEvent’ has no member named ‘position’ [branch rtklib_2.4.3] Building Qt app fails with getmain.cpp:507:45: error: ‘class QDropEvent’ has no member named ‘position’ Feb 15, 2024
@JensReimann
Copy link
Owner

Thank you for reporting the issue. Current development is going on in RtklibExplorer's repository https://github.com/rtklibexplorer/. We will keep compatibility to Qt5 for some time, but I won't fix it here.

Note: The new code is currently under heavy development and probably introduces also new bugs. We will only fix it in the upcoming weeks (including yours).

@dreirund
Copy link
Author

Current development is going on in RtklibExplorer's repository https://github.com/rtklibexplorer/

If this is the official place for the code now, then I suggest

  • You put a prominent information at the beginning of the README,
  • maybe archive this repository.

Regards and thanks for telling!

@DavidKelleySCSC
Copy link

JensReimann; Not too concerned where you put it (as I watch both repositories), but if I may ask; what's your plan for Qt6 long term? We are moving a major software production (that still has some very key RTKLIB derived code in it) from Qt 5.12 to Qt 5.15.2 this week. But to be frank, the move to Qt6.x (along with its strange new 'no longer free' commercial usage fees) is very off putting. Prefer not to get trapped into Qt6, but otherwise we should sync out own work up to this effort.

@dreirund
Copy link
Author

dreirund commented Feb 16, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants