How to properly build QT 64 bit version
-
wrote on 17 Apr 2020, 04:51 last edited by
Am wondering how can we build QT 64 bit from source because officially QT not provide QT 64 bit Installer not sure why ???
i tried to build GT from source on mingw-64 bit compiler and it build but its missing main thing QTcreater.exe ?
so here what i did correct my guys if am missing something or did any thing wrong.
cd C:\QT64\source git clone git://code.qt.io/qt/qt5.git # cloning the repo cd qt5 git checkout 5.14.2 # checking out the specific release or branch perl init-repository # now configure and install configure -debug -nomake examples -nomake tests -skip qtwebengine -opensource -opengl desktop # after configuration it say it will install it C:\QT\5.14.2 folder mingw32-make install
so it installed Qtdesigner into C:\QT\5.14.2 but there is no C:\QT\Tools\QTcreator folder which is main thing where Qtcreator.exe should be
-
@SGaist said in How to properly build QT 64 bit version:
Qt provides several 64 bit pre-built binary packages
can you share download link to them , as i have to work with opencv its build for 64 bit , was not failing 32 bit build so have to upgrade my QT to 64 bit to work with opencv 64 bit build
thanks
@Zelda4 Just use the online installer and then select a 64bit Qt there during installation.
https://www.qt.io/download-thank-you?os=windows&hsLang=en -
Hi,
The installer might be 32bit but that's only the installer. Qt provides several 64 bit pre-built binary packages. These are unrelated.
As for Qt Creator, it's an independent project. If you want to build it by hand, clone the corresponding repository.
-
Hi,
The installer might be 32bit but that's only the installer. Qt provides several 64 bit pre-built binary packages. These are unrelated.
As for Qt Creator, it's an independent project. If you want to build it by hand, clone the corresponding repository.
wrote on 17 Apr 2020, 06:09 last edited by@SGaist said in How to properly build QT 64 bit version:
Qt provides several 64 bit pre-built binary packages
can you share download link to them , as i have to work with opencv its build for 64 bit , was not failing 32 bit build so have to upgrade my QT to 64 bit to work with opencv 64 bit build
thanks
-
@SGaist said in How to properly build QT 64 bit version:
Qt provides several 64 bit pre-built binary packages
can you share download link to them , as i have to work with opencv its build for 64 bit , was not failing 32 bit build so have to upgrade my QT to 64 bit to work with opencv 64 bit build
thanks
@Zelda4 Just use the online installer and then select a 64bit Qt there during installation.
https://www.qt.io/download-thank-you?os=windows&hsLang=en -
@SGaist said in How to properly build QT 64 bit version:
Qt provides several 64 bit pre-built binary packages
can you share download link to them , as i have to work with opencv its build for 64 bit , was not failing 32 bit build so have to upgrade my QT to 64 bit to work with opencv 64 bit build
thanks
-
@Zelda4 Just use the online installer and then select a 64bit Qt there during installation.
https://www.qt.io/download-thank-you?os=windows&hsLang=enwrote on 17 Apr 2020, 08:58 last edited by@jsulm i used online compiler and selected 64 bit MSV 2017 and minGw 64 bit compiler , but still it installed QTcreator 32 bit ?? am wondering its ok or will be problematic in future because if i have to place QT dlls with my app it will be of 32 bit instead of 64 bit
screenshot :
compilers are 64 bit and about messagebox showing 32bit
-
The architecture of the IDE and the one from your application are not related.
-
@jsulm i used online compiler and selected 64 bit MSV 2017 and minGw 64 bit compiler , but still it installed QTcreator 32 bit ?? am wondering its ok or will be problematic in future because if i have to place QT dlls with my app it will be of 32 bit instead of 64 bit
screenshot :
compilers are 64 bit and about messagebox showing 32bit
@Zelda4 As already explained: the architecture of the installer or the QtCreator IDE are completely unrelated! Why do you care?
Use Qt 64bit you installed to build your application and you will get a 64bit app...
1/8