-
Notifications
You must be signed in to change notification settings - Fork 6
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
Compilation issue with Q_INIT_RESOURCE #1
Comments
You can try this. inline void initMyResource() { Q_INIT_RESOURCE(qml); } |
Hello,
Thank you so much for this. The project has compiled successfully now.
I will now test out the features and get back in case of an issue.
Thank you so much once more.
Warm regards,
Nikhil
…On Mon, Oct 21, 2019 at 4:32 PM happydpc ***@***.***> wrote:
You can try this.
inline void initMyResource() { Q_INIT_RESOURCE(qml); }
QString LiveWindow::loadLiveWindow()
{
// Q_INIT_RESOURCE(qml);
initMyResource();
return QStringLiteral("qrc:/com/machinekoder/live/LiveWindow.qml");
}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AAHDBFMSYP2ZAOQQUOG2ZQ3QPWD4HA5CNFSM4IVJV42KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBZ5ZXA#issuecomment-544464092>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHDBFPDUROI6B43LDSQ5ZTQPWD4HANCNFSM4IVJV42A>
.
|
Does this work with>>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I just downloaded the source code and tried to compile according to the instructions in your video tutorial.
An error occurs while compiling the project. Its something regarding Q_INIT_RESOURCE. In the macro defined in qglobal.h, it tries to paste the "livewindow" argument and I probably think that's where the issue lies. Also, I am not sure but can you please check whether it should be livewindow or livecodingpanel and the resource as LiveCodingPanel.qml? Please refer to the attached file for the screenshot.
Thanks a lot.
The text was updated successfully, but these errors were encountered: