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

Cannot install in OpenSuse Tumbleweed #50

Open
sirfmoyo opened this issue Feb 15, 2024 · 0 comments
Open

Cannot install in OpenSuse Tumbleweed #50

sirfmoyo opened this issue Feb 15, 2024 · 0 comments

Comments

@sirfmoyo
Copy link

I am getting this error on OpenSuse tumbleweed

[../main.cpp: In function ‘int main(int, char**)’:
../main.cpp:16:26: error: ‘AA_UseHighDpiPixmaps’ is not a member of ‘Qt’
   16 |     app.setAttribute(Qt::AA_UseHighDpiPixmaps);
      |                          ^~~~~~~~~~~~~~~~~~~~
../main.cpp:19:9: error: ‘class QApplication’ has no member named ‘setApplicationDisplayName’; did you mean ‘setApplicationName’?
   19 |     app.setApplicationDisplayName("System tray for OneDrive");
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
      |         setApplicationName
../main.cpp:24:5: error: ‘QCommandLineParser’ was not declared in this scope
   24 |     QCommandLineParser parser;
      |     ^~~~~~~~~~~~~~~~~~
../main.cpp:25:5: error: ‘parser’ was not declared in this scope
   25 |     parser.setApplicationDescription("Run and control OneDrive from the system tray");
      |     ^~~~~~
../main.cpp:27:5: error: ‘QCommandLineOption’ was not declared in this scope
   27 |     QCommandLineOption onedrivePathOption(QStringList() << "p" << "onedrive-path", "Path to the OneDrive program", "path");
      |     ^~~~~~~~~~~~~~~~~~
../main.cpp:28:22: error: ‘onedrivePathOption’ was not declared in this scope
   28 |     parser.addOption(onedrivePathOption);
      |                      ^~~~~~~~~~~~~~~~~~
../main.cpp:29:23: error: expected ‘;’ before ‘onedriveArgsOption’
   29 |     QCommandLineOption onedriveArgsOption(QStringList() << "a" << "onedrive-args", "Arguments passed to OneDrive", "args");
      |                       ^~~~~~~~~~~~~~~~~~~
      |                       ;
../main.cpp:30:22: error: ‘onedriveArgsOption’ was not declared in this scope
   30 |     parser.addOption(onedriveArgsOption);
      |                      ^~~~~~~~~~~~~~~~~~
../main.cpp:31:23: error: expected ‘;’ before ‘silentFailOption’
   31 |     QCommandLineOption silentFailOption(QStringList() << "s" << "silent-fail", "No error message displayed when no system tray is detected");
      |                       ^~~~~~~~~~~~~~~~~
      |                       ;
../main.cpp:32:22: error: ‘silentFailOption’ was not declared in this scope
   32 |     parser.addOption(silentFailOption);
      |                      ^~~~~~~~~~~~~~~~
../main.cpp:50:18: error: ‘class QDebug’ has no member named ‘noquote’
   50 |         qDebug().noquote() << "Translation not found for" << QLocale().languageToString(QLocale().language()) << "language" << QLocale().uiLanguages() << ".";
      |                  ^~~~~~~
make: *** [Makefile:242: main.o] Error 1](url)
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

1 participant