|
Hi,
I've installed with Brew and navigated to /usr/local/Cellar/pyqt/.../bin and there are 3 files there, but none of them start the Qt graphical environment.
|
|
|
|
|
PyQt is a Python plugin to bind to the Qt framework. It can't be "started". It allows Python applications to use the Qt framework.
You have installed the Qt creator IDE (Integrated Development Environment). So you have to navigate to the installation directory of that and start it.
|
|
|
|
|
Ok will try that.
Brew installed pyqt, qt, python, sip and python@2. I guess then I should start it from qt directory.
I have already installed on my machine the "normal" Qt with C++. Can I use that installation and just add PyQt to it ?
|
|
|
|
|
Quote: I have already installed on my machine the "normal" Qt with C++. Can I use that installation and just add PyQt to it ? What you have probably already installed are the Qt libraries, C++ header files, and also maybe the Qt Creator.
I would guess that PyQt uses your already existing Qt libraries.
An existing Creator should be also useable when configuring it for PyQt.
|
|
|
|
|
The problem is that brew puts everything in a directory called Cellar and installs everything there even if you have the program installed somewhere else.
For example, I have installed python on my Mac, nevertheless brewer installed it again under Cellar. Quite strange I think! So, given this, how can I "force" pyqt to use my original qt installation ?
|
|
|
|
|
Quote: So, given this, how can I "force" pyqt to use my original qt installation ? I did not know the answer. But as already said I guess that it is already using the existing Qt libraries by looking in the common library directories.
It would also depend on the installation order when using brew. If you have installed Qt after PyQt, PyQt would not know where to look for Qt.
I have no Mac here and can't tyr it out. Why not just write a simple "Helle World" Python application using PyQt and check if it works. If so, you can try later to find out how to configure for using specific libraries.
|
|
|
|
|
Hi,
The simple Hello World type of program works perfectly on the Qt/C++.
Just an extra piece of information: brew, when installing software, checks for dependencies and installs them all.
On my case it has installed: python3, python2, SIP and qt. So I guess everything should work, as it is contained inside the Cellar directory.
|
|
|
|
|
I'm not sure wheter this is the right section to ask this. So please have indulgence.
Before some years when Software ran on a dedicated Hardware we could take a Fingerprint of the environement and make a "mas o menos" secure license based on the Hardware Fingerprint.
But now with virtualization, I'm lost.
Simply the question: Is there a way to take a forgery-proof fingerprint also from a virtual environment? I think no, but maybe I'm wrong.
Any ideas?
Thank you very much in advance.
[Edit]
It is more a question to secure to use specific protected data by a user, but I think in the end it remains the same Problem like Software licensing[/Edit]
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
|
Thank you very much for this.
Quote: (You can detect if you are running "virtual"). I'm Aware of this, so I can decide whether to allow virtual or not.
Quote: There are "hardware fingerprints" available even in VM's (apparently). That is not clear for me how this should work. I need to investigate more on this.[Edit]In case you mean a Fingerprint of the of the underlying machine I see a Problem:
a.) Some of our customers do move the virtual machines frequently from one physical Server to another (because of securtity reasons, whatelse? I don't know it exactly).
Quote: What about Azure? No idea about it at the Moment and I think also not a solution for some of our conservative customer.
Thank you a gain very much.
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
I think the way to go is "always connected".
Unless it's "field equipment", I expect every sane person to have internet.
Put your key services in the cloud, and "license" the client.
Your back end will know at all times which "license" is accessing from which IP; and how many "instances".
You can now license on an "instance" basis. Maybe even compute "overhead".
And there's the "token system". Issue tokens that expire and have to be renewed by "calling home". The same client renewing the same token is obviously a flag.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
modified 20-Apr-18 19:02pm.
|
|
|
|
|
That was my idea, but Management....
Thank you very much again!
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
Your welcome! (Added a note re: "tokens" above).
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
What programming language would I use if I want to write a robot that is able to visit regular webpages and extract and collect information from them? Some examples would be to find out what days a hotel (that doesn't have a calendar view) offers the cheapest stays, go inside several threads on forum and collect all text (so I can search for specific key words), or collect pictures from an advertising website so I can see the items quickly without having to click on each ad. So, the robot needs to be able click on buttons/links, change comboxes, etc as well as collecting the information in the webpage. What IDE would I use, can I use Visual Studio?
|
|
|
|
|
|
For modern applications, HttpClient[^] is probably a better choice.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
You are right of course, and thank you, something else for me to study. But given the question, I would guess that is the least of the OPs concerns.
|
|
|
|
|
|
Noting of course that I would suspect that you will find that there are already a number of libraries out there that do most of that.
So deciding what features you need, both for the scanner and for the rest of your application, and THEN go look for a library and other technologies to match that would be best.
And in general this sort of question is almost always answered by "the one you have the most familarity with." Because creating a brand new system with all brand new technologies might be fun but it is not the best way successfully create such a system nor to create one that actually makes money.
|
|
|
|
|
Dear all,
I would like to develop a CAD-like GUI for microelectronics.
My first problem is how to design the main screen. Like any software of this kind, you have simply a background where you can put objects. Usually, this background is black or white, it has a grid and you can zoom in/out. (Please check any spice simulator)
Initially, I thought of using some kind of language from Microsoft Visual Studio suite. It allows to do forms, menus, buttons, etc, but it would be slow after adding all the functionalities (I guess).
What's the best programming language and graphical engine to do this?
Appreciate your help.
Best regards,
Pedro
|
|
|
|
|
pcardoso73 wrote: What's the best It depends on your knowledge and experience. Which languages and frameworks do you know, and how much experience do you have working in this field?
|
|
|
|
|
Hi,
Well I am an old guy and have been programming for ages. The language is not really my problem. What I don't know is how to do graphics programming using an engine and which are the languages that will result in a fast piece of software.
Thanks,
Pedro
|
|
|
|
|
|
Thanks for your suggestions.
If I could do everything with Unity and C#, it would be perfect
|
|
|
|
|
Unity, if it is a game. If it is something CAD like Revit or AutoCAD, then it will run fine in WinForms.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|