Need help compiling libqxt for Windows - windows

I have a Qt project which uses libqxt. How do I compile it for Windows?
Edit
Ok, I compiled it, and it's installed in "C:\Qxt\", but when I try to build my project it still fails with error
..\qlocate\mainwindow.cpp:13:29: error: QxtGlobalShortcut: No such file or directory
I assume I should change the include paths of Qt Creator, but how do I do that?

there's a problem with the headers. Read the complete guide to fixing it here:
http://qt-project.org/wiki/LibQxt_in_QtCreator

just download it from
http://dev.libqxt.org/libqxt/wiki/user_guide
and run configure.bat

Related

MinGW missing make?

my windows travis-ci build failed, it appears that the command make is not in the PATH? see log here.
Does the mingw package installed by default include make? appreciated if someone can point to me an example configuration that use make/gcc to compile on windows. My .travis.yml can be found here.
Most MinGW have a mingw32-make.exe file but no make.exe. Simply copy that and rename it or change the call from make to mingw32-make in your build.

libRInside.a an empty file

I'm trying to compile the qtdensity example from the RInside examples folder, using Qt, Windows 7, R 32bit.
I have followed all the instructions posted online on how to set up these tools since my ultimate goal is to develop a C++/R application in Qt.
When I try to build the project I get the following error:
E:\dev\R-2.15.2\library\RInside\lib\i386\libRInside.a:-1: error: file not recognized: File truncated
Indeed, the libRInside.a file is empty as well as the libRInside.dll file in the same folder.
I have installed, uninstalled, installed again the RInside package using the install.packages("RInside", type="source") command.
The same problem does not occur with the Rcpp package, installed the same way.
I would greatly appreciate any insights on this. I've recently started with C++ and as a result it has taken me a lot of effort to set up everything so far.
Thank you!
Laura
Not sure what I did wrong but I solved it by copy-paste the same files from the archive available at the CRAN page of RInside

Xinput.h: No such file or directory

I'm trying to get input from an xbox controller, I went to this page:
http://www.codeproject.com/Articles/26949/Xbox-360-Controller-Input-in-C-with-XInput
and I'm just test running his source, good thing I did because it found an error:
C:\Users\me;)\Desktop\XBOX360Test\XBOX360Test\CXBOXController.h|9|fatal error: Xinput.h: No such file or directory|
Can I don't know what the issue is, doesn't Xinput ship with windows?
I'm late I know, but I get the same error.
Opening the project in Visual Studio works fine, but compiling with gcc doesn't. Seems like the compiler of VS knows more than gcc and you need to compile it with that one. Here's how:
http://msdn.microsoft.com/en-us/library/ms235639(v=vs.80).aspx

qmake gives code 3 when attempting to configure qt for static building

I have the latest Qt SDK. I'm trying to configure it for static building with VS2010 (dynamic linking works fine) I have it at this location: C:\QtSDK\Desktop\Qt\4.8.0\msvc2010
When I go there with the VS2010 command prompt and try to run configure -static, or configure -static I get some output but in the end it fails with
Generating Makefiles...
WARNING: c:\QtSDK\Desktop\Qt\4.8.0\msvc2010\projects.pro:44: Unable to find file
for inclusion src\src.pro
WARNING: c:\QtSDK\Desktop\Qt\4.8.0\msvc2010\projects.pro:46: Unable to find file
for inclusion doc\doc.pri
Reading C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/tools
Reading C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/translations/translations.pro
Reading C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/examples
Reading C:/QtSDK/Desktop/Qt/4.8.0/msvc2010/demos
Qmake failed, return code 3
Please help
I downloaded the source zip file instead of trying to work with what came in the SDK and it's working now. Just download the source from here, unzip it, and run the configure.exe in the unzipped folder. My guess (although I have inspected this) is that there's missing source files or other resources in the SDK version.

Fltk1.1 with MinGw?

I have a project that compiles in linux and I am now trying to compile it under MinGw in Windows 7. The project includes the fltk library. When I try to compile, I get the message that the FL/Fl.h file is not found -
GUIWindow.h:5:18: fatal error: FL/Fl.H: No such file or directory
compilation terminated
I downloaded the fltk 1.1 files and extracted them to my desktop. I went into the directory, configured, and compiled the files successfully. So what am I missing here to get this to install? I thought that with #include<>, if the library is installed correctly that it will find the files no matter where they are at. So what else is necessary under MinGw? Any help is appreciated.
Okay well I just cut the FL folder from the fltk folder and put it in MinGw/include. This compiles. If anyone can explain why just having #include works in linux but not in MinGw, I would be grateful.

Resources