Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In fact my coursework requires me to create a simple sudoku game using Qt creator but the learning curve is killing me. I am thankful for what others have created for our ease of use but often times I would rather prefer to understand low level stuff first (perhaps down to transistor level) like in this case low level methods to handle events like mouse clicks and draw simple shapes and windows.

Since I'm an engineering student and I am not going to be a front end developer, I really do not feel like putting the effort to learn high level Qt or any other framework and IDE. Whenever I try when I sit down and look at the tutorials I have back pain and neck pain calling up and I am in real physical and mental pain. Seriously... It is painful and harder than maths and physics (which can also be painful when the syllabus requires learning something without a firm foundation of the prerequisite knowledge). At this stage I do not care about marks, I care about understanding, which I find lacking when I try to learn to use Qt.

I have stumbled upon Nana library which feels way better than Qt since it is just a library and not an eye dizzying framework or ide. However I would like to know what are the more fundamental and/or standard libraries out theere to look into for handling events and creating very simple GUI. I contemplate that they are also the ones used by framework developers (like Qt) to make higher level frameworks, unless they actually need to code their libraries in assembly code (at least some of them?).

After all they are all going to be converted to machine codes that are also able to communicate with i/o ports i.e. mouse, keyboard and screen etc. but I definitely do not know exactly how they interact.

EDIT: I noticed when I navigated to 'My Question' by clicking my member serial no. at the top right corner, and I looked at the only question I have ever asked here, which was just now, it showed '4 hrs ago'. Is something wrong here? My timezone is GMT+8 in Malaysia/Singapore.

EDIT: I updated the question just now and it showed 'updated 3 hrs and 20 mins ago'. Holy sh*t am I dreaming or in a near light speed shuttle in which time passes by more slowly (ever heard of twins paradox)

What I have tried:

Watch Qt tutorial, look at Qt documentation and suffer.
Posted
Updated 10-Apr-18 2:07am
v3
Comments
Kornfeld Eliyahu Peter 9-Apr-18 15:41pm    
"my coursework requires me to create a simple sudoku game using Qt creator" - it reads to me that you are required to learn Qt... So what the requirement is?
Do you have the freedom of picking the OS?
Member 13770638 9-Apr-18 16:27pm    
I am using windows
Kornfeld Eliyahu Peter 9-Apr-18 16:31pm    
So what about GUI API? It may require a lot of lines but not that complicated...
https://msdn.microsoft.com/en-us/library/bb384843.aspx
Member 13770638 9-Apr-18 17:08pm    
Hmm the coursework requires us to use Qt. But I am thinking of using only a text editor without any framework like qT or Winapi.
Dave Kreskowiak 10-Apr-18 9:42am    
Well then, be prepared to fail. The requirement for Qt is probably there so you learn Qt for the next class.

Qt isnt so hard to learn, so read some of the Qt tutorials.

When you Google you may finde some sodoku examples.
 
Share this answer
 
Since Qt is required, you have to, at least, use it in your application. Modify an existing example in order to fit your needs and don't bother to really understand it.
If you ar really interested on what there is under the hood, then have a look at Walkthrough: Creating Windows Desktop Applications (C++)[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900