   Tile-based game with Qt
  Hello.I've created a text-based strategy game, and I thought I could make a GUI with Qt for it. What would be the best approach to this?The game reads map-files, which are not restricted by size in any way. The map can be 20x20 or 13x7 tiles. I read that QCanvas has some built-in stuff for tile-based games, but it seems that it's getting deprecated. Should I use QGridLayout then? I could read the file in a loop, and create a new horizontal line for each line in the map, and then allocate memory to each tile, which would represent what character or item is in that tile.Also if you know any open source tile-based games made with Qt I'd be more than happy to take a look at the source code for ideas. Thanks.   
  Thre's a Qt port of nethack but I don't know where you can download it...   ;  From Qt 4.2 onwards, the Graphics View Framework replaces QCanvas.While Q3Canvas (the compatibility class for QCanvas in Qt 4) directly supports tiling, you can easily mimic its behavior in a QGraphicsScene by following the porting guide.   