I was trying to install Qt framework in a x32 computer but the installation was unsuccessful. Is there a Qt installer meant for x32 computers?
Related
I compiled R 4.1.0 from source on my Fedora 34 Workstation.
I had to install the X11 libraries to do so.
Is there a way to enable Wayland, so that it renders on Wayland directly?
I am also having problems with X11, see here.
I'm totally new with Qt and I downloaded the offline version " Qt 5.3.2 for Windows 64-bit (VS 2013, OpenGL, 573 MB)"
I'm unable to compile my project.
I have:
Qt Creator 3.2.1 (opensource)
Based on Qt 5.3.2 (MSVC 2010, 32 bit)
In my Build & Run, I have,
For the kit: Desktop Qt 5.3 MSVC2013 OpenGL 64bit
For Qt version: Qt 5.3 MSVC2013 OpenGL 64bit
and there is nothing for the compilers tab. I don't know what I should put in that section. What did I miss?
I got the following error message while trying to compile my project:
14:44:12: Configuration is faulty. Check the Issues view for details.
Error while building/deploying project TextFinder (kit: Desktop Qt 5.3
MSVC2013 OpenGL 64bit) When executing step "Make"
and
Qt creator needs a compiler set up to build. Configure a compiler in
the kit options.
Go to Tools->Options->Build & Run and on the Compilers tab click Add to add a new compiler. You can also manage kits on the Kits tab. Don't forget to setup qmake on the Qt Versions tab.
Also if you want the MSVC version of Qt you need to install Microsoft Visual Studio 2010 or 2013 depending on the version of Qt you use.
If you are a beginner I recommend you download the MinGW version from qt-project.org and everything should work just fine.
MinGW versions use the windows versions of GCC while VS uses Microsoft's compiler.
I have 64bit intel machine.
I am running windows 7 (64 bit) on this machine.
I have installed Visual Studio Ultimate 2012 on my machine.
I have installed Qt Creator 3.0.1 based on Qt 5.2.1 (MSVC 2010, 32bit)
I am not able to configure opencv 2.4.8 on this Qt on my machine.
I have tried many things but I am not able to get opencv 2.4.8 work on qt.
Please tell me the necessary steps.
Please note, I guess there is some twist because of my software versions e.g. 64 bit machine, opencv 2.4.8 and qt based on MSVC2010, but I am not sure.
Please..please..please help me.
Thank you in advance.
Are you failing to compile OpenCV, link it with your application or running your executable from Qt? Are you linking statically? The problems can be quite different.
If you are linking statically everything needs to be compiled with the same Microsoft Visual C++ compiler AFAIK [VC11 (2012) in your case]. OpenCV is Ok because they provide binaries for vc10 (VS2010), vc11 (VS2012) and vc12 (VS2013). For Qt itself download the version compiled against VS2012 available here.
If you are required to use Qt libraries compiled against vc10, then make sure you install the redistributables for Microsoft Visual C++ 2010 Redistributable Package (x86) and link your application dynamically. And of course, use Dependency Walker if you have problems with wrong DLLs.
I created a development environment with Fedora 18 and Qt 5
When I compile my app it will be 64 bit, and depend on Qt 5. After some research it seems that will be a problem since Centos 6.x is still dependong on Qt 4.6, and Centos 5.x is dependant on earlier Qt, and I'm guessin Ubuntu has its own package limitations.
Is there a "safe" version of Qt I can compile against to ensure it runs everywhere? If not, how can I expect customers to run my program?
If you want to target Linux, then I would recommend using Qt 4.8 (available on most of the Linux Distros), forget about Qt 5 for a year or so. Hardly any Linux distro other than Ubuntu 13.04 and above comes with Qt 5.
Secondly, as far as compiling is considered, if you wish to target Linux distros other than Ubuntu and Fedora than never use Ubuntu or Fedora for compilation. These are bleeding edge Linux distros which include new libraries without much testing. You will not only face the problem of old Qt versions in some Linux distros as you will face the bigger problem of glibc (C library). Make sure the Linux distro you use for compilation has a minimum possible glibc version for Qt 4.8, otherwise even if any Linux distro has Qt 4.8 installed, but has a lower version of glibc, you app still won't run. You can check out distrowatch.com to find out glibc and Qt versions for any Linux Distro
Example:
I compiled my app on Ubuntu 12.04, Qt 4.8.1 with glibc v 2.16 (perhaps). I got a bug report than application does not run on CrunchBang which also has Qt 4.8.1 available but since it is a Debian unstable Linux Distro it uses glibc v2.13. Since that day I always compile my application on CrunchBang (very lighweight, you can Virtual Box for this) and hardly some one complains now.
As far as CentOs is considered, you will need to recompile your code on CentOS.
How do I build 32-bit Qt under 64-bit Linux? I have trouble with libraries, notably with x11 (“X11 functionality failed” message during configure). What packages do I have to install and what mkspec I have to use? I tried linux-g++-32, is it correct?
Do you have the 32-bit X11 libraries installed? You'll probably have problems linking against 64-bit libraries.