Qt module not installed in QtDesigner
-
@Diracsbracket
i installed qt in /opt/Qt using root.
in that image shown warning in navigator because i import module qtCharts.wrote on 25 Aug 2018, 05:23 last edited by Diracsbracket@mr.jo
These are only warnings; everything works fine?It seems to happen with the latest version of Qt Creator, also on my Win10 platform with Qt 11.0 : After having used it for a while, possibly after switching projects a couple of times, my imports get flagged as "not installed", although the project compiles correctly. Usually, these warnings go away after I restart Qt Creator...
-
wrote on 25 Aug 2018, 05:38 last edited by
but i tried to add chartview in myqml but my app is crashed. but if i tried using example , thats working fine.
-
but i tried to add chartview in myqml but my app is crashed. but if i tried using example , thats working fine.
wrote on 25 Aug 2018, 05:59 last edited by Diracsbracket@mr.jo
If the examples work, then something must be wrong with your code or project setup.
Look at the.pro
file of the examples and check if you have the right values for theQT
variable etc, e.g.QT += qml quick widgets
-
wrote on 25 Aug 2018, 08:09 last edited by
@Diracsbracket i write like example and never forget to add module in .pro, i dont know why in qtdesigner still get warning like that,.
is qtchart have form like qtquick control2 in qt designer? -
wrote on 25 Aug 2018, 08:34 last edited by
ok the problem because qtchart cannot combine with qguiapplication, i use qapplication and application is work ! but next question is why my chart is not shown in qt designer form editor??
-
ok the problem because qtchart cannot combine with qguiapplication, i use qapplication and application is work ! but next question is why my chart is not shown in qt designer form editor??
wrote on 25 Aug 2018, 08:44 last edited bylike this @Diracsbracket
-
like this @Diracsbracket
wrote on 25 Aug 2018, 10:20 last edited by Diracsbracket@mr.jo
What do you mean? In the image, the chart is currently selected, and its parameters are shown in the Right panel.If you mean that it does not appear in the list of QML types to choose from, I don't know why that is. It does not appear in mine either.
I have tried the to build the designer plugin as described here:
https://stackoverflow.com/questions/37869807/qt-charts-and-data-visualization-widgets
But it does not help to add those types to the QML type list. -
wrote on 25 Aug 2018, 13:31 last edited by
yes its selected,. but if i want to change coordinate or size the charts form, i must change from source code?we cant just change from designer like a qt quick control or basic form? or maybe i dont understand how qt designer's work? or maybe thats module for designer only available for commercial version?
-
yes its selected,. but if i want to change coordinate or size the charts form, i must change from source code?we cant just change from designer like a qt quick control or basic form? or maybe i dont understand how qt designer's work? or maybe thats module for designer only available for commercial version?
wrote on 25 Aug 2018, 13:50 last edited by Diracsbracket@mr.jo
You can change e.g. the size and position from both the code and Qt Designer.
In fact, in Qt Designer, you can have both the code and the form view side-by-side.
If you change the code, you will see the corresponding Qt Designer fields updated
accordingly.
This has nothing to do with a license. QtCharts no longer requires a commercial
license. -
@mr.jo
You can change e.g. the size and position from both the code and Qt Designer.
In fact, in Qt Designer, you can have both the code and the form view side-by-side.
If you change the code, you will see the corresponding Qt Designer fields updated
accordingly.
This has nothing to do with a license. QtCharts no longer requires a commercial
license.wrote on 25 Aug 2018, 14:10 last edited by@Diracsbracket thanks alot , but we still cant see widget qtchart in designer? just a blank form like that, right??
-
@Diracsbracket thanks alot , but we still cant see widget qtchart in designer? just a blank form like that, right??
wrote on 25 Aug 2018, 14:20 last edited by@mr.jo
Yes. You don't see the actual contents of the graph in Designer. You must run the program to see it. -
@mr.jo
Yes. You don't see the actual contents of the graph in Designer. You must run the program to see it.wrote on 25 Aug 2018, 14:37 last edited by@Diracsbracket said in Qt module not installed in QtDesigner:
gner. You must run the program to see it.
but i confuse about that warning, maybe ok i cant see in designer, i just code that what paramater i need for that charts and not use a designer but its bother me hahaha. is it bug on qt designer and module, or maybe thats qtdesigner's work. fyi bluetooth sensor websocket webengine and many module have a warning like that. its bother me !!! haha..
-
@Diracsbracket said in Qt module not installed in QtDesigner:
gner. You must run the program to see it.
but i confuse about that warning, maybe ok i cant see in designer, i just code that what paramater i need for that charts and not use a designer but its bother me hahaha. is it bug on qt designer and module, or maybe thats qtdesigner's work. fyi bluetooth sensor websocket webengine and many module have a warning like that. its bother me !!! haha..
wrote on 25 Aug 2018, 16:24 last edited by@mr.jo
Yes, I agree. These false warnings are annoying and should get fixed. -
@mr.jo
Yes, I agree. These false warnings are annoying and should get fixed.wrote on 25 Aug 2018, 16:39 last edited by@Diracsbracket but if u check in QT instalation folder in /qt/version/gcc_64/ there is all module that u installed, maybe qtcreator not using that path so qtcreator got that warning. if u check in /qt/Tools/QtCreator/lib/Qt/qml ,that folder not contain all module maybe just base module.
-
@Diracsbracket but if u check in QT instalation folder in /qt/version/gcc_64/ there is all module that u installed, maybe qtcreator not using that path so qtcreator got that warning. if u check in /qt/Tools/QtCreator/lib/Qt/qml ,that folder not contain all module maybe just base module.
wrote on 25 Aug 2018, 16:43 last edited by@mr.jo
I have all modules, yet get the warnings, even in Qt Creator after a while in the QML source code. That must be a bug. -
@mr.jo
I have all modules, yet get the warnings, even in Qt Creator after a while in the QML source code. That must be a bug.wrote on 26 Aug 2018, 03:03 last edited by@Diracsbracket i tried to compile plugin qtchart again from source and get libqtchartdesigner.so then i put in path gcc_64/plugins/designer, after that i run designer from gcc_64/bin/ (standalone), and i got qt chart chartview widget, but still not have qtchart widget in qt quick designer(qt creator). :D im still tried how this application works perfectly haha. maybe because configuration path in qml emulation layer, but i dont know what it is :D
-
@Diracsbracket i tried to compile plugin qtchart again from source and get libqtchartdesigner.so then i put in path gcc_64/plugins/designer, after that i run designer from gcc_64/bin/ (standalone), and i got qt chart chartview widget, but still not have qtchart widget in qt quick designer(qt creator). :D im still tried how this application works perfectly haha. maybe because configuration path in qml emulation layer, but i dont know what it is :D
wrote on 26 Aug 2018, 09:20 last edited by@mr.jo
To be honest, I've never used Designer for QML. Due to the declarative nature of QML, I find it easier to just work from the code directly. -
@mr.jo
To be honest, I've never used Designer for QML. Due to the declarative nature of QML, I find it easier to just work from the code directly.wrote on 26 Aug 2018, 14:29 last edited by@Diracsbracket me too bro, but im curious with that warning, im using designer just want to know how my app looks like, without waiting for compilation. :D because the more complex the application is the longer the compilation.
-
@Diracsbracket me too bro, but im curious with that warning, im using designer just want to know how my app looks like, without waiting for compilation. :D because the more complex the application is the longer the compilation.
wrote on 26 Aug 2018, 14:43 last edited by Diracsbracket@mr.jo
Sure. -
@mr.jo
Sure.wrote on 27 Aug 2018, 03:58 last edited by@Diracsbracket thank bro for your infomation. :D
13/25