A Qt-based application for managing and viewing MLB stadium information, with features for viewing team information, planning trips, and managing souvenirs through an admin interface.
- Qt 6.x (recommended) or Qt 5.15+
- Qt Creator IDE
- A C++17 compatible compiler
- Git for cloning the repository
The program comes with two important CSV files:
MLB Information.csv- Main stadium databaseMLB Information Expansion.csv- Additional stadium information
These files should be in the root directory of the project.
- Install Qt and Qt Creator from Qt's official website
- During installation, make sure to select:
- Qt 6.x MSVC 64-bit (or MinGW 64-bit)
- Qt Creator
- CMake (should be included by default)
- During installation, make sure to select:
- Clone this repository:
git clone [your-repository-url] cd Baseball_Program - Open Qt Creator
- Open the project:
- Click "Open Project"
- Navigate to where you cloned the repository
- Select
Baseball_Program.pro
- Configure the project:
- When prompted, select the appropriate kit (preferably Qt 6.x)
- Click "Configure Project"
- Build and run:
- Press Ctrl+B to build
- Press Ctrl+R to run
- Install Qt and Qt Creator:
- Option 1: Download from Qt's official website
- Option 2: Install via Homebrew:
brew install qt brew install qt-creator
- Install Xcode command line tools:
xcode-select --install
- Clone this repository:
git clone [your-repository-url] cd Baseball_Program - Open Qt Creator
- Open and configure the project:
- Open
Baseball_Program.pro - Select the appropriate kit when prompted
- Open
- Build and run:
- Press Cmd+B to build
- Press Cmd+R to run
- View and sort MLB stadium information
- Plan trips between stadiums
- View and purchase souvenirs
- Admin interface for managing stadium data and souvenirs
- Default admin credentials:
- Username: admin
- Password: admin123
- Default admin credentials:
-
"Qt Creator can't find Qt installation":
- Make sure Qt is properly installed
- In Qt Creator, go to Tools > Options > Kits and verify your Qt version is detected
-
Build fails with missing files:
- Clean the project (Build > Clean All)
- Run qmake (Build > Run qmake)
- Rebuild (Build > Rebuild All)
-
CSV files not found:
- Ensure both CSV files are in the project root directory
- Check file permissions
- If Qt Creator isn't finding your Qt installation from Homebrew:
brew link qt --force
- Make sure you have full disk access enabled for Qt Creator in System Settings > Privacy & Security
- If using MSVC, make sure you have Visual Studio or the Visual Studio Build Tools installed
- If using MinGW, ensure it's properly set up in your Qt installation
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request