DEV Community

Cover image for My First Project & It Failed😊
Zag
Zag

Posted on

My First Project & It Failed😊

So, I recently learnt QT and was trying to build my first different project (not a copy like Todo, WordPad etc.). It was an MCQ's page with a few MCQs. Things went really well, and it was running fine until it came the time to Submit your choices.

What Happened

I made a submit button and connected the components to it. Then I ran the application and when I clicked the submit button, my application would suddenly close. I asked ChatGPT but it also said that it was unable to find an error and I should try debugging it.

Debugging

On debugging that QT debugger tells me that it is a segmentation fault. The only type the type of error that I never got in my C++ code and this was the first time I got this problem and it really hit me at a spot.

Conclusion

if you are someone who has worked with QT or C++, and is willing to help me, Please DO!
Image description
Here is it on GitHub.

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more