Build and Compile QCAD on Windows 10 using QT-MingW

Discussion forum for C++ and script developers who are using the QCAD development platform or who are looking to contribute to QCAD (translations, documentation, etc).

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files, scripts and screenshots.

Post one question per topic.

Post Reply
FirstStep
Newbie Member
Posts: 4
Joined: Mon Aug 15, 2016 5:02 pm

Build and Compile QCAD on Windows 10 using QT-MingW

Post by FirstStep » Mon Aug 15, 2016 5:15 pm

Hello,

I followed this routine as an attempt to compile and build QCAD on Windows 10 64-bit:

- I downloaded the source code from this site: http://www.qcad.org/en/qcad-downloads-trial
- I unzipped and opened qcad.pro using the latest virgin of QT Creator mingw 530-5.7.0: https://download.qt.io/official_releases/qt/5.7/5.7.0/
- I Configured the files as asked by QT
- I unchecked Shadow build from Debug, Release and Profile.
- I build and I get this error:

Unknown module(s) in QT: webenginewidgets

Could you please help go through this? Thank you.

User avatar
andrew
Site Admin
Posts: 9052
Joined: Fri Mar 30, 2007 6:07 am

Re: Build and Compile QCAD on Windows 10 using QT-MingW

Post by andrew » Mon Aug 15, 2016 5:27 pm


FirstStep
Newbie Member
Posts: 4
Joined: Mon Aug 15, 2016 5:02 pm

Re: Build and Compile QCAD on Windows 10 using QT-MingW

Post by FirstStep » Mon Aug 15, 2016 6:34 pm

Hello Andrew,

I see. I will look at it but Is there any instructions page on how to compile QCAD using several operating systems or/and IDEs? I would like to compile in Visual Studio if it is possible.

I am hoping for something similar to LibreCAD support pages:

http://librecad.org/cms/home/from-source/windows.html
https://github.com/LibreCAD/LibreCAD/wi ... -developer
https://github.com/LibreCAD/LibreCAD/wiki/Compile-HOWTO


cjh
Active Member
Posts: 31
Joined: Tue Jul 12, 2016 4:51 pm

Re: Build and Compile QCAD on Windows 10 using QT-MingW

Post by cjh » Tue Sep 13, 2016 3:38 pm

I had many issues with compiling qtwebkit.

I found a useful tutorial by googling: "compiling qt 5.5.1 with qtwebkit".
The first result (pempek.net) was very helpful.
I don't think I can link to it here but I'll try: http://pempek.net/articles/2015/10/18/c ... udio-2015/.

Make sure you install correct versions (64 vs 32-bit) of Python, Perl (I used strawberry), Ruby , and ICU libraries.
I believe I used more recent versions than the ones listed on the pempek link.

After compiling qt successfully, I'm able to work on QCAD in qt creator.

Post Reply

Return to “QCAD Programming, Script Programming and Contributing”