Install PyQT5 Designer For Mac - PyQt5 GUI Thursdays #7

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
what's going on guys john elder here from coding.com and in this video i'm going to show you how to install the pi qt designer for mac alright guys like i said in this video i'm going to show you how to install the pi qt designer for mac but before we get started if you like this video you want to see more like it be sure to smash the like button below subscribe to the channel give me a thumbs up for the youtube algorithm and check out codeme.com right dozens of courses with hundreds of videos that teach you to code use coupon code youtube1 to get 30 on membership it's all my courses videos and books one time fee is just 49 which is insanely cheap all right like i said in this video i'm going to show you how to install the pyqt designer for mac now in the last video we installed this for windows then somebody commented and i realized those instructions don't work on a mac completely different for mac so in this video we're going to walk through it for a mac at least we're going to try to it's a little bit different i haven't really done any mac videos before i have a mac as you can see but i don't really use it all that often so i had to kind of hack it into my video setup here so hopefully it's showing up on the screen right now i don't know we'll see but you can see i've got a terminal i've got a virtual environment turned on i've got a folder called pi qt that i've set up and if we pip freeze we can see i've got pi qt installed but i don't have pi qt designer so in the last video to install the pi qt designer we just went pip install pi qt5 designer and we do that on a mac we see error could not find a version that satisfies that requirement so what do we do well we can't install it obviously from the terminal we have to jump through a whole bunch of other hoops and actually install a whole other thing qt not pi qt but qt the original qt in order to use the qt designer for pi qt so what we need to do is pull up a web browser and head over to qt dot io slash download and you can see this is qt remember pi qt is based on qt it's built on qt qt is more of a c type program built with c and they've just sort of ported it to python with pi qt but the original version is just qt so we need to download and install this before we can use the pi qt designer on our mac so let's come down here and there's a section called download for open source users otherwise this thing costs money but you can get it free for open source users so let's click on go to open source and when you do you see open source use you can read all about it blah blah blah come down here to the bottom and it says looking for qt binaries yes we are so we want to go ahead and download now you're going to need an account with these guys in order to install this thing so you might as well sign up for one or you can wait and do it later while we're installing it there's a little button you can click on during the installation that will sign up an account it's completely free you have to then they send you an email you verify and you're good to go so okay we can come down here and it says hey we detected you're on a mac so blah blah blah scroll down again and click download now you also probably need apple's xcode to run this thing so head over to developer.apple.com and well just a second here let's do this first we open this we can open it with our disk image mount or whatever let's click ok yeah so we need xcode whatever the latest version is so if you don't have that on your mac already you need to get that it's also free just you have to sign up as an apple developer so sign up for a free developer account and then come back over here to this page and click on xcode 12 and you can read about it if you want it doesn't really matter you just have to download it and install it so you can go through here and right here download you can go through that yourself i'll just let you do that it's pretty straightforward now this installation for qt it takes a long time at least it took me a long time because first you download this little package which happens very quickly you can see but then when you click on this thing and install it it then has to download other things that are like a gigabyte or more and for some reason it just goes very very slow as you can see that you can see down here our thing is a little bouncing so i'll click on that and uh blah blah blah it was on it was downloaded from the internet are you sure yeah go ahead and open it like i said it's only a gigabyte or so to download it which should download pretty quickly but for some reason it took like an hour and a half for me to download it downloaded very slowly so okay it says please log into your qt account i have one because i set one up yesterday but if you didn't you can click here and sign up and you can fill it out and like i said they'll send you an email you verify it come back here enter your credentials and then click next and so it's checking for licensing fetching repositories blah blah blah okay so here we say yes i've read the agreement i'm an individual person not using qt for any company this is not commercial you're just using this as yourself right okay click next welcome to the open source setup click next again now it's preparing meta information download this is the thing that takes just forever to download and you can see oh maybe not maybe it's just a weird thing yesterday huh okay it also says you need xcode so if you don't have it go to developer.apple.com i just showed you that and download it and install that i've already done that so we're good to go so do we want to help them by sending information no not really so i'll disable that click next okay where do we want to install it anywhere we want the custom installation so click next it already exists i've installed this previously so i'll just say too next okay so now what do we want to install we want to install the latest version and right now it's 6.1.0 dash beta 1 but you don't want to click this right you want to click this little carrot because then if you click this it will download all of these things and we don't want that we just want the mac version right so okay that looks good select that click next i've agreed to the terms blah blah blah of course i have and click next all right so now it's ready it's going to take 1.2 gigabytes of this space and so now we install okay here's the thing then that took forever so i'm not even going to pause and wait for this to finish i'm just going to say this is going to take a while right so when it finally finishes you can come up to the far right corner of your mac there's a little magnifying glass click that you want to search and we just want to search qt and this is qt creator so we start to type in qt it realizes it right away so here it is we can double click that to open it and here is the qt creator let me move this over right so this is it we're not actually going to use this but this is the qt creator now that we have this we can use the qt designer we can open and run the qt designer and to do that we just come up here to file top of the screen new file or project and now we can pick what we want so you want to come down here to files and classes and click on qt right not anything else just qt and then over here you see we have the qt designer we have a qt designer form class qt designer form ut resource file we want qt designer form creates a qt designer form that you can add to a qt widget project blah blah blah so okay let's click choose and when we do this now looks just like the last video that we did with windows where we can select what do we want we want a widget we want a main window we probably want a main window so click ok click continue we can name it anything we want call it main window we can save it anywhere we want i actually have my code sitting somewhere else i'll click choose and you can navigate around to wherever code iqt that's where i want it so i'll click that all right click continue and then we come down here and click done and you see here we are this is the qt designer just like in the last video to resize this stuff and now it works in the same way as it did in the last video so a little bit more convoluted you know you have to do a couple extra things to get it to work on a mac but this is how you'll do it and now from now on whenever you want to use this just go up to the search thing search for qt creator and go through these steps again to open up the qt designer and you're good to go if we head back here you can see oh we're at 38 i'm going to go ahead and cancel out of this because we don't really need to like i said you're also going to need xcode so go to developer.apple.com forward slash xcode click here to download you have to log in i believe with the developer yeah you have to sign in to apple developer if you don't have uh if you don't have an account with apple for this just create one you need i think a cell phone to verify your identity they send you a text message they also send you an email to verify and then other than that it's completely free and then you can download and install xcode you download it and install it like you would anything else just like we did the qt creator just now you download the file click on it it does its thing and uh it's pretty self-explanatory you probably don't need my help with that but uh once you have that installed you can install the qt creator and then you can use the pyqt designer so that's all for this video if you like to be sure to smash the like button below subscribe to the channel give me a thumbs up for the youtube algorithm and check out codingme.com where you can use coupon code youtube1 to get 30 off memberships so you pay just 49 to access all my courses over 47 courses hundreds of videos in the pds of all my best selling coding books join over 100 000 students learn to code just like you my name is john elder from codeme.com and i'll see you in the next video
Info
Channel: Codemy.com
Views: 8,943
Rating: undefined out of 5
Keywords: pyqt5 designer mac, pyqt5 designer, install pyqt5 on mac, install pyqt5 designer, how to install pyqt5 designer on mac, pyqt desinger on mac, qt on mac, qt designer mac, how to run pyqt5 designer on mac, how to start pyqt5 designer on mac, does pyqt5 designer work on mac?, codemy.com, john elder, john elder pyqt5, qt designer, pyqt5 tutorial, pyqt designer, install pyqt5 and pyqt5 designer, design pyqt5 app, pyqt5 tutorial #7, pip install pyqt5
Id: eR9dNRvcseU
Channel Id: undefined
Length: 9min 41sec (581 seconds)
Published: Thu Mar 04 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.