This the source package, you have to built it in order to use it
Visual Studio 2008 build
Visual Studio 2010 build
You can use 1 after you built it, and 3 to 4 directly in Qt Creator provided that you installed the corresponding compilers.
Yes, you can have multiple versions of Qt in parallel no problem with that.
No, they will not. Up to VS2015, there's no compatibility between Visual Studio versions. VS2017 is the first one that is backward compatible with VS2015.
Also note that, if your really need to work with Qt 4, you should at least go with Qt 4.8.7 which is the latest and last version of the 4 series. Even more important, Qt 4 has reached end of life a long time ago, you should rather start with Qt 5.
Sorry, Qt Creator IDE debugger CAN show the current Fortran variables values...
I was trying to see a string parameter, but I forgot that is variable type is a pointer to a C string array...
All working...all ok...
Exactly, why we have to include this:
QWheelEvent wheelEvent( QPoint( 5, 5 ), we->delta(),
QPoint( 5, 5 ) is pos or global pos?
What is pixelDelta? What does mean that it contains the scrolling distance in pixels
@JKSH Yes, I created two simple console applications and added required libraries to them. Compiler keys are identical. I checked carefully. A one project have a mistake, and another doesn't have For example, a project with subprojects have this error, but QT Widgets does not have (but not always). Heisenbug?
@gregoryjithin The only suggestion (besides the correct one from @Pablo-J-Rogina - why don't you ask in correct forum? Your question/problem has no relation to Qt) I have is to do what the error message suggests: you need the OpenSSL libraries. Download them and put them into same directory where wsdl2h.exe is...
Upon further evaluation, the labels are put at the major tick marks, so the real question is how to change the physical spacing of the major tick marks. I'm not displaying the minor tick marks, but it appears that physical space is being allocated for them. I need to eliminate this physical spacing.
Managed to fix this by using:
install_name_tool -change /usr/local/lib/gcc/8/libgcc_s.1.dylib
libgomp.1.dylib was originally pointing to an older version of gcc inside /usr/local/lib/gcc
Thanks for your help!
Have you run your program under the debugger and looked at the traceback when whatever you mean by "app crash" occurs? Are you under Linux with core dumps? That is always by far the best place to start from.
If no core dumps and you can't run under debugger (e.g. it runs unattended overnight), what about putting in extensive but basic logging lines (to file) to see where it's going?
Hi @MrNickless, welcome!
From your description, the editor problem sounds again like a Clang Code Model problem. You can try to disable it with Help > About Plugins > Clang Code Model.
That however, is completely unrelated to compile or run problems. Did I get it right that you can compile the code and it runs on the target, but has runtime problems? Which kind of problems?
Okay, I got it running thanks to your help, I'll post my solution for the case anybody will run into similar issues:
class HwMonTool_app : public QWidget
HwMonTool_app(QWidget *parent = Q_NULLPTR);
// when adding more signal-slot connections, follow this syntax:
connect(ui.pushButton, &QPushButton::released, &(this->logic), &CPresentLogic::buttonPressed);
class CPresentLogic : public QObject
// put breakpoint here
When running this code in debugger and pressing (releasing) the pushButton, the buttonPressed() slot is called.
Thanks again for all the help, this topic can now be locked :)
I downloaded straight from their site with the only Pylon option so I don't think anything was installed wrong. I will double check with the installer to see if any setting can be changed.
I don't see how I can switch between release and debug though since I will get errors compiling on debug, I think I will just try to stay in release.
@SGaist Thanks for your help. I'm trying to use the same library across platforms. I found a way to compile the openldap library for mac/iOS version using this link https://www.ibm.com/developerworks/aix/library/au-iphoneapp/?ca=drs- . In the same way I'm trying to find the ways for compiling the library with MSVC and GCC so that the code for connecting, authentication and queries will be same on all the platforms. I know this is out Qt scope but trying to find whether someone succeeded in doing it.
You have to check that the request was succesfull xhr.status == 200, probably the server answers you with an error and this is why you are getting xhr.responseText = null.
Inspect if you are getting an http error code in xhr.status and the number to get more info.
@jward I had rebuild this plugin today and had the same problem. I found that I had to include the GStreamer bin dir in my environment path.
I added this to my path and cmake configured correctly:
@nadamus said in Windows COM automation Qt and AutoCAD:
Now it works, but sill I wonder why it is not working with QList and QVariant.
I think the culprit is this line:
had it instead been *wektor=SafeArrayCreate(VT_VARIANT,1,&granice); then a QList<QVariant> should've worked.
Qt's COM support is kind of stuck between a rock (everything is a VARIANT, the Visual Basic COM flavor, functions are called 100% through the IDispatch interface) and a hard place (you can pass native data types like int, doubles etc through COM, the C/C++ COM flavor, functions are called through specialized interfaces based on IUnknown). I remember doing a lot COM coding around the turn of the century, it was really hot then. Nowadays not so much :-)
seen on the official website (linked in the post you referring to):
While I really like the bindings themselves, the GStreamer folks have updated their Wiki page about it and wrote that they are now unmaintained. However, you have the qmlglsink that you should be able to use.
You should contact them for more information about it.