GUI help
-
with two new projects. connected together.
as one project (menu) two project (game gui).or I have to be a more cpp file.?
-
this is whether I have to have everything in one project. or does it link the project to one another?
I would like some specific answer
procedure
start game -> Game menu -> new game -> select option [select from sql (eg tym)] -> Game
First, the GUI will then program the game.
so I would love to have the best done to get this done -
this is whether I have to have everything in one project. or does it link the project to one another?
I would like some specific answer
procedure
start game -> Game menu -> new game -> select option [select from sql (eg tym)] -> Game
First, the GUI will then program the game.
so I would love to have the best done to get this done@caca0o
You dont have to have everything in one project.
You can always include other .pro files in master pro file if you need.
But you could start out with one project. And if its gets too big and messy, split to smaller sub projects. -
actually when I have a game menu in it I choose from the sql option. so he's always going to do game gui by sql to make the game gui virtually neutral.
do not you have some tutorials or examples here?
otherwise it is good to have a game menu separate from game gui in two projects
this is how it should actually work -
so it can be done in qt.
choose from sql and by choice -> GUI (neutral, sql-dependent)
something like select options and (team selection) -> Game (by sql)
so that Game always be switched according to the choice in sql -
yes, I would like to know if this is possible with qt.
but I do not know how to set it to make the result like what I want@caca0o
yes, Qt has good database support so its very possible.
You will have to know SQL to some extent to use it.
https://www.w3schools.com/sql/and use these classes
http://doc.qt.io/qt-5/qtsql-index.html -
ok thanks... when I think in the future.
i still do not know how to set in qt (neutral - .cpp? as the main window with GUI - game)
it should actually work for people in the game