Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

Problem when compiling #1

Open
NUKE1989 opened this issue Jan 16, 2015 · 2 comments
Open

Problem when compiling #1

NUKE1989 opened this issue Jan 16, 2015 · 2 comments

Comments

@NUKE1989
Copy link

src/dsowidget.cpp: In member function ‘bool DsoWidget::exportAs()’:
src/dsowidget.cpp:450:84: error: ‘class QFileDialog’ has no member named ‘selectedFilter’
exporter.setFormat((ExportFormat) (EXPORT_FORMAT_PDF + filters.indexOf(fileDialog.selectedFilter())));
^
make: *** [build/obj/dsowidget.o] Error 1

I am kinda linux noob btw so i may missing something. I run qmake, then make and i get this. My OS is Ubuntu 14.04. Also the ppa doesnt seem to work anymore.

@fabiobaltieri
Copy link
Owner

Hey, builds fine at HEAD of my repository, also Ubuntu 14.04. The line number of your log does not match with my code, are you using my repo? Anyway, that seems to be part of the "export image" code. If you don't use that feature you may just delete the whole line (or grab the qt documentation and fix it, it's probably some API change).

@ghost
Copy link

ghost commented Aug 2, 2015

I had the exact same issue until I disabled qt5:
http://askubuntu.com/questions/424161/how-to-install-both-qt5-qmake-and-qt4-qmake

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

No branches or pull requests

2 participants