Bug 432798 - build errors: undeclared indentifier
Summary: build errors: undeclared indentifier
Status: RESOLVED FIXED
Alias: None
Product: parley
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: parley bug tracker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-11 12:07 UTC by Avinash Sonawane
Modified: 2021-03-22 06:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Avinash Sonawane 2021-02-11 12:07:29 UTC
Hello!

On latest git master

$ make -j4
...
src/parleydocument.cpp:549:66: error: use of undeclared identifier 'q_ptr'
    KNS3::DownloadDialog dialog(QStringLiteral("parley.knsrc"),  q_ptr);
                                                                 ^
src/parleydocument.cpp:550:5: error: use of undeclared identifier 'newStuffDialog'
    newStuffDialog.exec();
    ^
src/parleydocument.cpp:551:33: error: use of undeclared identifier 'newStuffDialog'
    KNS3::Entry::List entries = newStuffDialog.installedEntries();

3 errors generated.
...
$
Comment 1 Alexander Lohnau 2021-03-22 06:45:00 UTC
Git commit 5d36879753ccecb8f003b694438d0c73ee0b8f07 by Alexander Lohnau.
Committed on 22/03/2021 at 06:43.
Pushed by alex into branch 'master'.

Fix build with old KNewStuff versions

M  +1    -1    src/parleydocument.cpp

https://invent.kde.org/education/parley/commit/5d36879753ccecb8f003b694438d0c73ee0b8f07
Comment 2 Alexander Lohnau 2021-03-22 06:46:59 UTC
Git commit 8cb794ca2a630d2e2da55dcb72c8cf0605c73bca by Alexander Lohnau.
Committed on 22/03/2021 at 06:46.
Pushed by alex into branch 'release/21.04'.

Fix build with old KNewStuff versions
(cherry picked from commit 5d36879753ccecb8f003b694438d0c73ee0b8f07)

M  +1    -1    src/parleydocument.cpp

https://invent.kde.org/education/parley/commit/8cb794ca2a630d2e2da55dcb72c8cf0605c73bca