[PyQt] QML
Phil Thompson
phil at riverbankcomputing.com
Thu Apr 4 23:34:44 BST 2019
I don't know why it is doing that as I cannot reproduce the problem. I don't know if it is your setup, or a bug which is triggered by your setup. However you have all the code to hand in order to debug it.
> On 3 Apr 2019, at 11:33 pm, Techie Soft <techiesoft at gmx.com> wrote:
>
>
> But why it is not doing that? Am i missing something? Any update on the below request?
> Sent: Tuesday, April 02, 2019 at 8:30 PM
> From: "Phil Thompson" <phil at riverbankcomputing.com>
> To: "Techie Soft" <techiesoft at gmx.com>
> Cc: Pyqtdeploy <pyqt at riverbankcomputing.com>
> Subject: Re: [PyQt] QML
> On 2 Apr 2019, at 3:53 pm, Techie Soft <techiesoft at gmx.com> wrote:
> >
> > Yes, my current drive is E:\
> >
> > and if you look closely the error "Can't open perl script "Configure": No such file or directory" , perl script is trying to pick the Configure script under ssl directory, but that is not there, but it exists here "E:\QT-PRO\demo\sysroot-win-32\build\openssl-1.1.0j\openssl-1.1.0j\"
> >
> > In C:\Users\Administrator\Downloads\pyqtdeploy-2.4\pyqtdeploy-2.4\pyqtdeploy\sysroot\plugins\openssl.py file, line 184 has this
> >
> > " args = ['perl', 'Configure', target, 'no-shared',
> > '--openssldir=' + sysroot.sysroot_dir + '\\ssl'] "
> >
> >
> > Which while executing translates into
> >
> > "Running 'perl Configure VC-WIN32 no-shared --openssldir=E:\QT-PRO\demo\sysroot-win-32\ssl --prefix=E:\QT-PRO\demo\sysroot-win-32 no-engine no-asm'"
> >
> > Perl
> > Configure
> > target
> > no-shared
> > --openssldir = ' + sysroot.sysroot_dir + '\\ssl'
> >
> > Which is non existent
>
> Which, as I have already said, is correct. perl is looking for Configure in the current (at the time) directory but not finding it.
>
> The current (at the time) directory should be ...\demo\sysroot-win-32\build\openssl-1.1.0j\openssl-1.1.0.j
>
> >
> > Sent: Tuesday, April 02, 2019 at 8:13 PM
> > From: "Phil Thompson" <phil at riverbankcomputing.com>
> > To: "Techie Soft" <techiesoft at gmx.com>
> > Cc: Pyqtdeploy <pyqt at riverbankcomputing.com>
> > Subject: Re: [PyQt] QML
> > On 2 Apr 2019, at 12:16 pm, Techie Soft <techiesoft at gmx.com> wrote:
> > >
> > >
> > > Configure exists under "E:\QT-PRO\demo\sysroot-win-32\build\openssl-1.1.0j\openssl-1.1.0j\Configure"
> > >
> > > But pyqtdeploy searches that here "E:\QT-PRO\demo\sysroot-win-32\ssl\Configure" due to that //ssl hard code, which is obviously non existent
> >
> > I don't know what you mean by "pyqtdeploy searches that here". The directory should be non-existent and has nothing to do with the problem.
> >
> > The only difference I can see between your environment and our test environment is drive E:. Is E: your current drive when you run pyqt-demo?
> >
> > > Sent: Tuesday, April 02, 2019 at 2:40 PM
> > > From: "Phil Thompson" <phil at riverbankcomputing.com>
> > > To: "Techie Soft" <techiesoft at gmx.com>
> > > Cc: Pyqtdeploy <pyqt at riverbankcomputing.com>
> > > Subject: Re: [PyQt] Fw: QML
> > > On 2 Apr 2019, at 9:34 am, Techie Soft <techiesoft at gmx.com> wrote:
> > > >
> > > >
> > > > if i unpack that gz file and run perl command it works, as i told before,the //ssl is what creating the issues here
> > >
> > > I don't see how the two are related. It's failing before it ever gets to the remaining arguments.
> > >
> > > > Sent: Tuesday, April 02, 2019 at 9:23 AM
> > > > From: "Phil Thompson" <phil at riverbankcomputing.com>
> > > > To: "Techie Soft" <techiesoft at gmx.com>
> > > > Cc: Pyqtdeploy <pyqt at riverbankcomputing.com>
> > > > Subject: Re: [PyQt] Fw: QML
> > > > Sorry, never seen that error before. I suggest you unpack the archive from the command line and run the perl command manually to get a better idea of what is going on.
> > > >
> > > > > On 2 Apr 2019, at 2:57 am, Techie Soft <techiesoft at gmx.com> wrote:
> > > > >
> > > > > 1)Copied Demo folder from pyqtdeploy and pasted in E:\QT-PRO
> > > > > 2) Downloaded all the files mentioned in sysroot.json and pasted in the same folder E:\QT-PRO
> > > > > 3) Ran the following command "pyqtdeploy-sysroot sysroot.json --verbose"
> > > > > 4) Got this error " Unpacking 'openssl-1.1.0j.tar.gz'
> > > > > Running 'perl Configure VC-WIN32 no-shared --openssldir=E:\QT-PRO\demo\sysroot-win-32\ssl --prefix=E:\QT-PRO\demo\sysroot-win-32 no-engine no-asm'
> > > > > Can't open perl script "Configure": No such file or directory
> > > > > pyqtdeploy-sysroot: Execution failed: returned exit code 2"
> > > > >
> > > > >
> > > > > Please see the screenshot of the files placed in the folder, changed the qt everywhere version in sysroot.json
> > > > >
> > > > > Sent: Monday, April 01, 2019 at 11:25 PM
> > > > > From: "Phil Thompson" <phil at riverbankcomputing.com>
> > > > > To: "Techie Soft" <techiesoft at gmx.com>
> > > > > Cc: Pyqtdeploy <pyqt at riverbankcomputing.com>
> > > > > Subject: Re: [PyQt] Fw: QML
> > > > > Have you built the demo for your target as per the documentation?
> > > > >
> > > > > > On 1 Apr 2019, at 6:30 pm, Techie Soft <techiesoft at gmx.com> wrote:
> > > > > >
> > > > > > Can you please help me in fixing this issue? i am struggling like anything with this pyqtdeploy, should i build sysroot for android and windows, is it mandatory or can i skip this and go to .pdy step?
> > > > > >
> > > > > > Sent: Monday, April 01, 2019 at 10:48 PM
> > > > > > From: "Phil Thompson" <phil at riverbankcomputing.com>
> > > > > > To: "Techie Soft" <techiesoft at gmx.com>
> > > > > > Cc: Pyqtdeploy <pyqt at riverbankcomputing.com>
> > > > > > Subject: Re: [PyQt] Fw: QML
> > > > > > It's just a default location.
> > > > > >
> > > > > > > On 1 Apr 2019, at 6:12 pm, Techie Soft <techiesoft at gmx.com> wrote:
> > > > > > >
> > > > > > > I am getting the below error
> > > > > > >
> > > > > > > Can't open perl script "Configure": No such file or directory
> > > > > > > pyqtdeploy-sysroot: Execution failed: returned exit code 2
> > > > > > >
> > > > > > >
> > > > > > > when i opened the openssl.py in pyqtdeploy it has a line like below
> > > > > > >
> > > > > > > args = ['perl', 'Configure', target, 'no-shared',
> > > > > > > '--openssldir=' + sysroot.sysroot_dir + '\\ssl']
> > > > > > >
> > > > > > >
> > > > > > > Why the \\ssl path is hardcoded here?, actually openssl tar file getting extracted and the Configure file is in the below location "\sysroot-win-32\build\openssl-1.1.0j\openssl-1.1.0j\Configure" instead of this why \\ssl is being hardcoded.
> > > > > > >
> > > > > > > Sent: Monday, April 01, 2019 at 10:33 PM
> > > > > > > From: "Phil Thompson" <phil at riverbankcomputing.com>
> > > > > > > To: "Techie Soft" <techiesoft at gmx.com>
> > > > > > > Cc: Pyqtdeploy <pyqt at riverbankcomputing.com>
> > > > > > > Subject: Re: [PyQt] Fw: QML
> > > > > > > As it suggests in the documentation, the answer is yes.
> > > > > > >
> > > > > > > > On 1 Apr 2019, at 5:49 pm, Techie Soft <techiesoft at gmx.com> wrote:
> > > > > > > >
> > > > > > > > Anyone reading these mails? or pyqtdeploy team is dead?
> > > > > > > >
> > > > > > > > Sent: Monday, April 01, 2019 at 1:19 PM
> > > > > > > > From: "Techie Soft" <techiesoft at gmx.com>
> > > > > > > > To: Pyqtdeploy <pyqt at riverbankcomputing.com>
> > > > > > > > Subject: Fw: QML
> > > > > > > >
> > > > > > > >
> > > > > > > > Sent: Saturday, March 30, 2019 at 4:20 PM
> > > > > > > > From: "Techie Soft" <techiesoft at gmx.com>
> > > > > > > > To: Pyqtdeploy <pyqt at riverbankcomputing.com>
> > > > > > > > Subject: QML
> > > > > > > > Can we use pyqtdeploy to build applications that use QML in Qt?
> > > > > > > > _______________________________________________
> > > > > > > > PyQt mailing list PyQt at riverbankcomputing.com
> > > > > > > > https://www.riverbankcomputing.com/mailman/listinfo/pyqt
> > > > > > >
> > > > > >
> > > > >
> > > > > <demofiles.PNG>
> > > >
> > >
> >
>
More information about the PyQt
mailing list