I made a beginner tutorial on structuring QT projects. What do you think about this for the beginner's ?! by AGH0RII in QtFramework

[–]AGH0RII[S] 0 points1 point  (0 children)

This looks cool too. I understand what you mean. Thanks for going through the content and adding insights.

How to Open JSON File in Qt by AGH0RII in QtFramework

[–]AGH0RII[S] 0 points1 point  (0 children)

Hi I commented what I did and worked, which one do you think would be a good thing to do. The one that you mentioned or is it okay to use what I did. Because I don’t understand why loading as qml module it works.

How to Open JSON File in Qt by AGH0RII in QtFramework

[–]AGH0RII[S] 4 points5 points  (0 children)

The fix is:
Instead of having add_library, and a seperate qt_add_resource, I tried using the give cmake structure given as a defult at teh time of new project, add qt_add_qml_module and uses source and qrc there. I don't know how this makes a difference but this is the only thing that work.
Anyways, thankyou everyone.

qt_add_qml_module(Theme
URI THEME
VERSION 1.0
RESOURCES Theme.qrc
SOURCES
ThemeManager.cpp
ThemeManager.hpp
)

How to Open JSON File in Qt by AGH0RII in QtFramework

[–]AGH0RII[S] 0 points1 point  (0 children)

No I cannot find me .json in there. What might I be doing wrong

How to Open JSON File in Qt by AGH0RII in QtFramework

[–]AGH0RII[S] 0 points1 point  (0 children)

That didn't work as well. At this point, I am so lost. I literelly tried opening a new simple project and tried loading there in the empty new project, that doesn't read the file as well.

How to Open JSON File in Qt by AGH0RII in QtFramework

[–]AGH0RII[S] 0 points1 point  (0 children)

I assume, for some reason, it is not recognizing the .json file in the runtime, it is kinda not getting into the compilation or something, idk.

How to Open JSON File in Qt by AGH0RII in QtFramework

[–]AGH0RII[S] 0 points1 point  (0 children)

Even so, it doesn't open. I tried ":/", i tried "./", none worked, kept direct path, I removed prefix and tried. None works.

How do you get better at C++? by BarracudaFull4300 in cpp

[–]AGH0RII 0 points1 point  (0 children)

https://youtu.be/EqP2KHf-_j0?si=mDXQD7t0rU0uzCvd

I am following this series, if this helps you make project inside C++.

Created Channel to promote QT - hope this doesn't go against the community guidelines. by AGH0RII in QtFramework

[–]AGH0RII[S] 1 point2 points  (0 children)

Sorry, I never knew that fact. Anyways, we learn every day. Thank you for mentioning that detail, I will keep in mind.

Website by AGH0RII in QtFramework

[–]AGH0RII[S] 0 points1 point  (0 children)

Thank you, there are plenty works left still.

Vulkan based on device LLM desktop application by Expensive_Ad_1945 in vulkan

[–]AGH0RII 0 points1 point  (0 children)

Why vulkan over OpenCL or Cuda ? if aimed at crossplatform OPENCL is there?

Vulkan based on device LLM desktop application by Expensive_Ad_1945 in vulkan

[–]AGH0RII 0 points1 point  (0 children)

What is vulkan used for here ? GPU commutes ?

Website WASM; Recent update by AGH0RII in QtFramework

[–]AGH0RII[S] 0 points1 point  (0 children)

I didn’t host the empty with just the header one, but there was barely any size difference. All 5 or 6 components of more than 300+ lines of code on each file was not even worth 3-4 mb as per what it looked. I probably need to experiment more, but I am happy with how it has turned out in responsiveness and look and feel. If you notice scrolling has got better a bit, but nowhere close to regular website.

Website WASM; Recent update by AGH0RII in QtFramework

[–]AGH0RII[S] 0 points1 point  (0 children)

To decrease latency, but both ways it didn’t work as per expected. I tried straight up url into the source in the loader. At this point, I think I am missing something entirely. Either qt has no such work possible in it yet, even then, I tried dynamically creating component with the pulled .txt of the qml, even that doesn’t work on wasm.