Cavewhere / cavewhere

3D Cave Mapping Software
https://cavewhere.com
GNU General Public License v3.0
34 stars 8 forks source link

error: ‘UnicodeUTF8’ is not a member of ‘QApplication’ #2

Closed balister closed 8 years ago

balister commented 10 years ago

Any clues on this one?

In file included from src/cwImportSurvexDialog.h:12:0, from src/cwImportSurvexDialog.cpp:9: .ui/ui_cwImportSurvexDialog.h: In member function ‘void Ui_cwImportSurvexDialog::retranslateUi(QDialog*)’: .ui/ui_cwImportSurvexDialog.h:146:107: error: ‘UnicodeUTF8’ is not a member of ‘QApplication’ cwImportSurvexDialog->setWindowTitle(QApplication::translate("cwImportSurvexDialog", "Dialog", 0, QApplication::UnicodeUTF8)); ^ In file included from src/cwImportSurvexDialog.h:12:0, from src/cwImportSurvexDialog.cpp:9: .ui/ui_cwImportSurvexDialog.h:148:139: error: ‘UnicodeUTF8’ is not a member of ‘QApplication’ tabWidget->setTabText(tabWidget->indexOf(SurvexErrorsWidget), QApplication::translate("cwImportSurvexDialog", "Survex Errors", 0, QApplication::UnicodeUTF8)); ^ .ui/ui_cwImportSurvexDialog.h:149:138: error: ‘UnicodeUTF8’ is not a member of ‘QApplication’ tabWidget->setTabText(tabWidget->indexOf

balister commented 10 years ago

and I mess around and it compiled. Feels like they are some generated files? I'll try again with a fresh checkout. I think there may be some other errors/warnings about generated files.

vpicaver commented 10 years ago

Are you building with Qt 5.2.1?

balister commented 10 years ago

On 04/06/2014 04:49 PM, vpicaver wrote:

Are you building with Qt 5.2.1?

Yep. qt5-qtbase-devel-5.2.1-6.fc20.x86_64

Philip


Reply to this email directly or view it on GitHub: https://github.com/Cavewhere/cavewhere/issues/2#issuecomment-39687315

vpicaver commented 8 years ago

Builds okay on ubuntu using the build guide. If you have more trouble feel free to make another bug.