Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots more minor DolphinQt stuffs. #3032

Merged
merged 10 commits into from Nov 23, 2015
Merged

Conversation

waddlesplash
Copy link
Contributor

Commit messages should be self-explanatory. r? @lioncash, @phire, @JosJuice

We don't need two sets of actions (one with icons, one without icons)
for Play/Stop, we can just tell Qt not to display the icons in the menus.
@waddlesplash
Copy link
Contributor Author

Windows buildbot failed because it's on a too-old version of Qt. ping @shuffle2 on that.

Also cc @comex if he wants to look at this.

class HostTitleEvent final : public QEvent
{
public:
HostTitleEvent(const std::string title);

This comment was marked as off-topic.

 * Confirm stopping emulation when the window is closing, not just the "Stop" button
 * Don't resume if we were already paused when we got the quit event
 * Shutdown the core at the end of main() so we don't crash on exit
 * Miscellaneous other logic cleanups related to this
 * Windows 8.1/10 & OS X .10/.11 constants now in Qt
 * idealThreadCount() includes hyperthreads, so say 'logical processors'
@waddlesplash
Copy link
Contributor Author

@lioncash Done, so now this is just waiting for the Qt update.

@waddlesplash
Copy link
Contributor Author

@lioncash LGTU?

@tony971
Copy link

tony971 commented Sep 30, 2015

QTDIR not set or non-existent (pull the submodule?)
  • Visual Studio 2015

@JosJuice
Copy link
Member

@tony971 Did you pull the submodule?

@tony971
Copy link

tony971 commented Sep 30, 2015

Yes. It builds without this pull.

@waddlesplash
Copy link
Contributor Author

It builds without this pull.

No, that's just Visual Studio ignoring the DolphinQt build failure. You need the pull in order to build DolphinQt. Also, even if you pulled before, now that the Qt submodule has been updated, you'll have to update your local copy as well.

@tony971
Copy link

tony971 commented Sep 30, 2015

I've got Git set to update sub modules every time I pull.

@waddlesplash
Copy link
Contributor Author

Then you need to be on the latest Git revision, or merge this branch into master. This branch by itself is not enough.

@tony971
Copy link

tony971 commented Sep 30, 2015

I merged this pull request into the latest master after updating the submodule. Everything was up to date and that's why I'm reporting an issue.

@waddlesplash
Copy link
Contributor Author

Please paste the contents of the Externals\Qt directory, as well as the contents of QtCompile.props.

@tony971
Copy link

tony971 commented Oct 2, 2015

I looked in the Externals\Qt directory and got confused why I saw 5.4 stuffs. So I deleted the directory and pulled again. Same result.

https://www.dropbox.com/s/dbzgfwbx17t0zza/Qt.7z?dl=0

@waddlesplash
Copy link
Contributor Author

Sorry, I meant a directory listing, not the actual directory.

Ah, I see -- the submodule is linked to a specific commit, not master. I'll need to fix that.

@waddlesplash waddlesplash mentioned this pull request Nov 2, 2015
@waddlesplash
Copy link
Contributor Author

@tony971 Can you pull, update the submodule, and try again?

@tony971
Copy link

tony971 commented Nov 9, 2015

@waddlesplash works for me now :)

@waddlesplash
Copy link
Contributor Author

@lioncash Merge?

@rukai
Copy link
Contributor

rukai commented Nov 22, 2015

Wont compile on my machine running Arch Linux.

/home/rubic/Projects/dolphin/src/dolphin-dev-waddlesplash/Source/Core/Core/NetPlayServer.cpp: In static member function ‘static bool NetPlayServer::initUPnP()’:
/home/rubic/Projects/dolphin/src/dolphin-dev-waddlesplash/Source/Core/Core/NetPlayServer.cpp:907:74: error: invalid conversion from ‘int*’ to ‘unsigned char’ [-fpermissive]
  UPNPDev *devlist = upnpDiscover(2000, nullptr, nullptr, 0, 0, &upnperror);
                                                                          ^
/home/rubic/Projects/dolphin/src/dolphin-dev-waddlesplash/Source/Core/Core/NetPlayServer.cpp:907:74: error: too few arguments to function ‘UPNPDev* upnpDiscover(int, const char*, const char*, int, int, unsigned char, int*)’
In file included from /home/rubic/Projects/dolphin/src/dolphin-dev-waddlesplash/Source/Core/Core/NetPlayServer.cpp:840:0:
/usr/include/miniupnpc/miniupnpc.h:62:1: note: declared here
 upnpDiscover(int delay, const char * multicastif,

It looks like its grabbing miniupnpc from /usr/include instead of from the Externals folder.
I have no idea how your changes have caused that however.

@BhaaLseN
Copy link
Member

He didn't touch NetPlay, so this PR is not at fault (or should not). Does master work for you?

@rukai
Copy link
Contributor

rukai commented Nov 22, 2015

Yes master works fine for me.

I know, its totally bizarre. o.0
I grabbed the zip of dolphin-emu/dolphin and the dolphin-qt branch of waddlesplash/dolphin.
Extracted both, made the build dirs etc.
Compiled them both with cmake -DENABLE_QT=true ..; make

dolphin-emu/dolphin works fine
while waddlesplash/dolphin comes up with that error

I would think that the error is more to do with the build process, but that wasnt touched either.
screenshot

@rukai
Copy link
Contributor

rukai commented Nov 23, 2015

My bad, nothing is wrong.

I assumed waddlesplash's repo needed to have the full history of the master dolphin in order to be merged, I can now see that isnt the case.
The problem I was experiencing would have been fixed in a recent commit to master, that wasnt in the history of waddlesplash's repo.

phire added a commit that referenced this pull request Nov 23, 2015
Lots more minor DolphinQt stuffs.
@phire phire merged commit ffb9722 into dolphin-emu:master Nov 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants