This is a portfolio website built using Qt, QML, and C++ and deployed via WebAssembly. A year ago, I had an idea of creating my website using C++, but I didn't know how. I was unfamiliar with Qt or the necessary tools, knowing only the basics of C++. Now, a year later, I have successfully completed the first version of my website.
- Smooth Design: Despite being built as a QtQuick application, the design maintains a smooth and seamless user experience, resembling a standard website.
- PDF Resume Viewer: Visitors can view and download my resume directly in PDF format.
- WebAssembly Deployment: The website is built using WebAssembly, allowing it to run efficiently in a browser.
- Qt SDK: Ensure you have the necessary Qt development environment installed. You can download it from Qt's official website.
- Qt Version: Requires Qt 6.6.3 or newer (Qt 5 is not supported).
- Emscripten: Required for WebAssembly deployment. Install it from Emscripten's official site.
To get the source files, clone the repository:
git clone https://github.com/kaustuvpokharel/portfolioWebsite.git- Open the project in Qt Creator.
- Configure the CMake build system.
- In the Projects section, select the appropriate build kit:
- Windows: MSVC 2019 64-bit
- MacOS: macOS
- Linux: Desktop gcc 64-bit
- First, test the build on a desktop kit.
- If the desktop version runs successfully, switch to WebAssembly:
- Enable WebAssembly support in Qt Creator.
- Choose either single-threaded or multi-threaded WebAssembly.
- Run the project and test it in a browser (localhost).
To deploy the website as a WebAssembly application:
- Follow the official Qt for WebAssembly documentation.
- Ensure you have Emscripten installed and properly configured.
- Build the WebAssembly version of the project and deploy it to a web server.
The latest version of the website can be accessed at:
Website Link
You are free to modify and enhance the content, styles, and structure to better suit your personal branding and identity.
- Qt (C++)
- QML
- Qt WebAssembly
Special thanks to the Qt Group for their excellent documentation and to the Qt Reddit Community for their valuable insights.
For inquiries or feedback, reach me at: kastuvpokharel@gmail.com
Happy coding!
