blobdrop icon indicating copy to clipboard operation
blobdrop copied to clipboard

windows support

Open 000000003ooo opened this issue 10 months ago • 10 comments

will this app support for windows?

000000003ooo avatar Feb 21 '25 13:02 000000003ooo

Yes, this app should work on Windows, did you run into any issues when compiling on Windows?

Windows is supported at least since e9eba6585d1a262254ae5184d6fdbb756633125a, however I don't actively test on that platform, so let me know if any things are broken.

vimpostor avatar Feb 21 '25 14:02 vimpostor

I install cmake and qt6.8 on my windows 11 after i run cmake .. it tell me that

CMake Error at CMakeLists.txt:12 (find_package):
By not providing "FindQt6.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt6", but
CMake did not find one.

Could not find a package configuration file provided by "Qt6" (requested
version 6.8) with any of the following names:

Qt6Config.cmake
qt6-config.cmake

Add the installation prefix of "Qt6" to CMAKE_PREFIX_PATH or set "Qt6_DIR"
to a directory containing one of the above files.  If "Qt6" provides a
separate development package or SDK, be sure it has been installed.

do i need to change your cmake.list ?

000000003ooo avatar Feb 26 '25 14:02 000000003ooo

do i need to change your cmake.list?

No, it seems that it can't find the path to your Qt installation, so you will have to set the path manually when you run cmake. It would be the same way on Linux, if you install Qt in a non-system-wide location.

Googling the error should tell you how to fix it, e.g.:

  • https://stackoverflow.com/a/75528346
  • https://stackoverflow.com/a/75150842

vimpostor avatar Feb 26 '25 15:02 vimpostor

Image

I successfully compile the app, and install it on my os but after I start the app , nothing happen

Image

000000003ooo avatar Feb 26 '25 19:02 000000003ooo

Seem like you have handle os difference in blobdrop, but not handle that in quartz (?

image

000000003ooo avatar Feb 27 '25 09:02 000000003ooo

I successfully compile the app, and install it on my os but after I start the app , nothing happen

From your screenshot it looks like you are starting it the correct way, this should definitely work, I am not sure why it doesn't seem to work on Windows. I would have to investigate this, but it will take some time - I haven't touched Windows for a while now.

Maybe you can do one quick check for me and navigate to the build directory and start the executable directly from there instead of installing it system-wide?

Seem like you have handle os difference in blobdrop, but not handle that in quartz

That shouldn't be a problem, it's also ifdef'd out in quartz, otherwise you would have gotten an error when compiling.

vimpostor avatar Feb 28 '25 09:02 vimpostor

I successfully got it to work on Windows, and everything works fine except for immediate. The "-f immediate" works just like "-f gui".

Rabbitbun avatar Mar 01 '25 09:03 Rabbitbun

Maybe you can do one quick check for me and navigate to the build directory and start the executable directly from there instead of installing it system-wide?

It's my pleasure.

But I'm on vacation now. I'll be back in a few days.

000000003ooo avatar Mar 02 '25 16:03 000000003ooo

Apologies for the delay.

this is my build dir

Image

Image nothing happen after i start the executable.

000000003ooo avatar Mar 17 '25 09:03 000000003ooo

Manually copy the dll then blobdrop -f gui sometext.txt work without problem But as rabbitbun said, -immediate seems to have problems

000000003ooo avatar Mar 17 '25 12:03 000000003ooo

I have tested this on Windows now again and indeed, the immediate frontend does no longer seem to work there. I am not sure if a change in Windows or in Qt broke it, but I seem to remember that it worked last time I tested it. But that was about three years ago, so I am not sure if I just misremember it.

In any case, I have now adapted the default frontend on Windows to one that actually works, let me know if there are any other problems.

vimpostor avatar May 01 '25 19:05 vimpostor